mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
fix: fix wrong guaranteeTs for hybrid search (#31302)
#31281 Signed-off-by: luzhang <luzhang@zilliz.com> Co-authored-by: luzhang <luzhang@zilliz.com>
This commit is contained in:
parent
ed0526a1a4
commit
e396ad9580
@ -163,7 +163,7 @@ func (t *hybridSearchTask) PreExecute(ctx context.Context) error {
|
||||
log.Info("generate reScorer failed", zap.Any("rank params", t.request.GetRankParams()), zap.Error(err))
|
||||
return err
|
||||
}
|
||||
|
||||
t.HybridSearchRequest.GuaranteeTimestamp = guaranteeTs
|
||||
t.searchTasks = make([]*searchTask, len(t.request.GetRequests()))
|
||||
for index := range t.request.Requests {
|
||||
searchReq := t.request.Requests[index]
|
||||
@ -216,7 +216,7 @@ func (t *hybridSearchTask) PreExecute(ctx context.Context) error {
|
||||
}
|
||||
|
||||
log.Debug("hybrid search preExecute done.",
|
||||
zap.Uint64("guarantee_ts", t.request.GetGuaranteeTimestamp()),
|
||||
zap.Uint64("guarantee_ts", guaranteeTs),
|
||||
zap.Bool("use_default_consistency", t.request.GetUseDefaultConsistency()),
|
||||
zap.Any("consistency level", t.request.GetConsistencyLevel()))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user