prepare_index_params()
This operation prepares index parameters to build indexes for a specific collection.
📘Notes
This is a class method. You should call this method like this: MilvusClient.prepare_index_params()
.
Request syntax
pymilvus.MilvusClient.prepare_index_params() -> IndexParams
PARAMETERS:
N/A
RETURN TYPE:
IndexParams
RETURNS:
An IndexParams contains a list of IndexParam objects.
-
IndexParams
A list of IndexParam objects.
├── IndexParams
│ └── add_index()It offers the add_index() method to add indexes to the list.
EXCEPTIONS:
None
Examples
from pymilvus import MilvusClient
index_params = MilvusClient.prepare_index_params()