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
Parameter | Description | Type | Required |
---|---|---|---|
collection_name | Collection name | String | True |
field_name | Name of the field to build index on | String | False |
index_name | Name of the index to check | String | False |
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'
}