🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

milvus-logo
LFAI
< Docs

wait_for_index_building_complete()

This method blocks all other operations until index building is done, exception is raised, or timeout is triggered.

Invocation

wait_for_index_building_complete(collection_name, index_name='', timeout=None, using='default')

Parameters

ParameterDescriptionTypeRequired
collection_nameName of the collection to loadStringTrue
index_nameName of the index to build. Default index will be checked if it is left blank.StringFalse
timeoutAn optional duration of time in seconds to allow for the RPC. If it is set to None, the client keeps waiting until the server responds or error occurs.FloatFalse
usingMilvus Connection used to load the collectionStringFalse

Return

No return.

Raises

  • CollectionNotExistException: error if the collection does not exist.
  • IndexNotExistException: error if the index does not exist.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?