mirror of https://github.com/milvus-io/milvus.git
Fix incorrect IP distance (#25527)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>pull/25549/head
parent
f9e2d00f91
commit
a577cac46b
|
@ -442,6 +442,10 @@ func (t *searchTask) PostExecute(ctx context.Context) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(toReduceResults) >= 1 {
|
||||||
|
MetricType = toReduceResults[0].GetMetricType()
|
||||||
|
}
|
||||||
|
|
||||||
// Decode all search results
|
// Decode all search results
|
||||||
tr.CtxRecord(ctx, "decodeResultStart")
|
tr.CtxRecord(ctx, "decodeResultStart")
|
||||||
validSearchResults, err := decodeSearchResults(ctx, toReduceResults)
|
validSearchResults, err := decodeSearchResults(ctx, toReduceResults)
|
||||||
|
|
Loading…
Reference in New Issue