mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix incorrect IP distance (#25527)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
This commit is contained in:
parent
f9e2d00f91
commit
a577cac46b
@ -442,6 +442,10 @@ func (t *searchTask) PostExecute(ctx context.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if len(toReduceResults) >= 1 {
|
||||
MetricType = toReduceResults[0].GetMetricType()
|
||||
}
|
||||
|
||||
// Decode all search results
|
||||
tr.CtxRecord(ctx, "decodeResultStart")
|
||||
validSearchResults, err := decodeSearchResults(ctx, toReduceResults)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user