fix:[Cherr-pick] sealed segment get empty index params when brute force search for bm25 (#38752)

relate: https://github.com/milvus-io/milvus/issues/38236
pr: https://github.com/milvus-io/milvus/pull/38707

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2.5_cloud_pre
aoiasd 2024-12-26 10:26:51 +08:00 committed by GitHub
parent d47372eb9c
commit 930f9e9ef8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -896,7 +896,7 @@ ChunkedSegmentSealedImpl::vector_search(SearchInfo& search_info,
// get index params for bm25 brute force
std::map<std::string, std::string> index_info;
if (search_info.metric_type_ == knowhere::metric::BM25) {
auto index_info =
index_info =
col_index_meta_->GetFieldIndexMeta(field_id).GetIndexParams();
}

View File

@ -945,7 +945,7 @@ SegmentSealedImpl::vector_search(SearchInfo& search_info,
// get index params for bm25 brute force
std::map<std::string, std::string> index_info;
if (search_info.metric_type_ == knowhere::metric::BM25) {
auto index_info =
index_info =
col_index_meta_->GetFieldIndexMeta(field_id).GetIndexParams();
}