milvus-logo
LFAI
< Docs
  • Node

getIndexBuildProgress()

This method checks the progress of index building and shows the total number of rows and the number of index rows.

Invocation

new milvusClient(MILUVS_ADDRESS).collectionManager.getIndexBuildProgress(GetIndexBuildProgressReq);

Parameters

GetIndexBuildProgressReq

ParameterDescriptionTypeRequired
collection_nameCollection nameStringTrue
field_nameName of the field to build index onStringFalse
index_nameName of the index to checkStringFalse

Example

new milvusClient(MILUVS_ADDRESS).collectionManager.getIndexBuildProgress({
  collection_name: 'my_collection',
});

Return

// getIndexBuildProgress return
{
  status: { error_code: 'Success', reason: '' },
  indexed_rows: '0',
  total_rows: '0'
}
Feedback

Was this page helpful?