mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
Fix autoindex filter bug (#24775)
Signed-off-by: chasingegg <chao.gao@zilliz.com>
This commit is contained in:
parent
762d1e8681
commit
1f8af0596e
@ -277,7 +277,7 @@ func (node *QueryNode) optimizeSearchParams(ctx context.Context, req *querypb.Se
|
||||
}, 0)
|
||||
// use shardNum * segments num in shard to estimate total segment number
|
||||
estSegmentNum := sealedNum * int(channelNum)
|
||||
withFilter := (plan.GetVectorAnns().GetPredicates() == nil)
|
||||
withFilter := (plan.GetVectorAnns().GetPredicates() != nil)
|
||||
queryInfo := plan.GetVectorAnns().GetQueryInfo()
|
||||
params := map[string]any{
|
||||
common.TopKKey: queryInfo.GetTopk(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user