milvus-logo
LFAI
< Docs
  • Node

getQuerySegmentInfo()

This method checks the information of the segments in the query nodes via proxy.

Invocation

new milvusClient(MILUVS_ADDRESS).dataManager.getQuerySegmentInfo(
  getQuerySegmentInfoReq
);

Parameters

getQuerySegmentInfoReq

ParameterDescriptionTypeRequired
collectionNameName of the collection to checkStringTrue
timeoutAn optional duration of time in millisecond to allow for the RPC. Default is undefinedNumberFalse

Example

new milvusClient(MILUVS_ADDRESS).dataManager.getQuerySegmentInfo({
  collectionName: "my_collection",
});

Return

// getQuerySegmentInfo return
{ status: { error_code: 'Success', reason: '' }, infos: [] }
Feedback

Was this page helpful?