[skip ci] Add comment for Search (#11903)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/11908/head
dragondriver 2021-11-16 19:19:31 +08:00 committed by GitHub
parent 8c951217ee
commit ef7575fe29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1466,6 +1466,7 @@ func (node *Proxy) Delete(ctx context.Context, request *milvuspb.DeleteRequest)
return dt.result, nil
}
// Search search the most similar records of requests.
func (node *Proxy) Search(ctx context.Context, request *milvuspb.SearchRequest) (*milvuspb.SearchResults, error) {
if !node.checkHealthy() {
return &milvuspb.SearchResults{