mirror of https://github.com/milvus-io/milvus.git
[skip ci] Fix go code format in Index Service doc (#11488)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/11520/head
parent
5f0a9fc9a6
commit
dd34a0d3ad
|
@ -11,15 +11,15 @@ type IndexCoord interface {
|
|||
Component
|
||||
TimeTickProvider
|
||||
|
||||
// BuildIndex receives requests from RootCoordinator to build an index.
|
||||
// BuildIndex receives requests from RootCoordinator to build an index.
|
||||
BuildIndex(ctx context.Context, req *indexpb.BuildIndexRequest) (*indexpb.BuildIndexResponse, error)
|
||||
// DropIndex deletes indexes based on IndexID. One IndexID corresponds to the index of an entire column. A column is
|
||||
// DropIndex deletes indexes based on IndexID. One IndexID corresponds to the index of an entire column. A column is
|
||||
// divided into many segments, and each segment corresponds to an IndexBuildID. IndexCoord uses IndexBuildID to record
|
||||
// index tasks. Therefore, when DropIndex is called, delete all tasks corresponding to IndexBuildID corresponding to IndexID.
|
||||
DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error)
|
||||
// GetIndexStates gets the index states of the IndexBuildIDs in the request from RootCoordinator.
|
||||
// GetIndexStates gets the index states of the IndexBuildIDs in the request from RootCoordinator.
|
||||
GetIndexStates(ctx context.Context, req *indexpb.GetIndexStatesRequest) (*indexpb.GetIndexStatesResponse, error)
|
||||
// GetIndexFilePaths gets the index files of the IndexBuildIDs in the request from RootCoordinator.
|
||||
// GetIndexFilePaths gets the index files of the IndexBuildIDs in the request from RootCoordinator.
|
||||
GetIndexFilePaths(ctx context.Context, req *indexpb.GetIndexFilePathsRequest) (*indexpb.GetIndexFilePathsResponse, error)
|
||||
GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue