mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add some comments in chap03_index_service.md (#10519)
Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>pull/10522/head
parent
3af852eafb
commit
5c7af727ea
|
@ -149,7 +149,10 @@ type IndexNode interface {
|
|||
Component
|
||||
TimeTickProvider
|
||||
|
||||
// CreateIndex receives request from IndexCoordinator to build an index.
|
||||
// Index building is asynchronous, so when an index building request comes, IndexNode records the task and returns.
|
||||
BuildIndex(ctx context.Context, req *indexpb.BuildIndexRequest) (*commonpb.Status, error)
|
||||
// GetMetrics gets the metrics about IndexNode.
|
||||
DropIndex(ctx context.Context, req *indexpb.DropIndexRequest) (*commonpb.Status, error)
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue