[skip ci]Add some comments in chap03_index_service.md (#10519)

Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
pull/10522/head
ryjiang 2021-10-24 08:55:27 +08:00 committed by GitHub
parent 3af852eafb
commit 5c7af727ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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)
}
```