prepare_index_params()

This operation prepares index parameters to build indexes for a specific collection.

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()](add_index.md)** method to add indexes to the list.

**EXCEPTIONS:**

None

## Examples

```python
from pymilvus import MilvusClient

index_params = MilvusClient.prepare_index_params()

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?