From 2417a5da69a238fd30730acfb1d4a048bbee41b7 Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Tue, 28 Sep 2021 22:42:05 +0800 Subject: [PATCH] [skip ci] Add comment for search in streaming (#8805) Signed-off-by: bigsheeper --- internal/querynode/streaming.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querynode/streaming.go b/internal/querynode/streaming.go index d4ae588815..c81224b6d2 100644 --- a/internal/querynode/streaming.go +++ b/internal/querynode/streaming.go @@ -104,6 +104,7 @@ func (s *streaming) retrieve(collID UniqueID, partIDs []UniqueID, plan *Retrieve return retrieveResults, retrieveSegmentIDs, nil } +// search will search all the target segments in streaming func (s *streaming) search(searchReqs []*searchRequest, collID UniqueID, partIDs []UniqueID, vChannel Channel, plan *SearchPlan, searchTs Timestamp) ([]*SearchResult, error) {