Skip to content

Commit

Permalink
fix: correctly set search params when using knowhere iterator (#34731)
Browse files Browse the repository at this point in the history
issue: #34730

Signed-off-by: Buqian Zheng <[email protected]>
  • Loading branch information
zhengbuqian authored Jul 17, 2024
1 parent ca758c3 commit aa5418a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/src/query/groupby/SearchGroupByOperator.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ PrepareVectorIteratorsFromIndex(const SearchInfo& search_info,
const index::VectorIndex& index) {
if (search_info.group_by_field_id_.has_value()) {
try {
auto search_conf = search_info.search_params_;
auto search_conf = index.PrepareSearchParams(search_info);
knowhere::expected<std::vector<knowhere::IndexNode::IteratorPtr>>
iterators_val =
index.VectorIterators(dataset, search_conf, bitset);
Expand Down

0 comments on commit aa5418a

Please sign in to comment.