diff --git a/internal/core/src/query/groupby/SearchGroupByOperator.h b/internal/core/src/query/groupby/SearchGroupByOperator.h index 41e3d2299dc3c..dc0ec4037ebb8 100644 --- a/internal/core/src/query/groupby/SearchGroupByOperator.h +++ b/internal/core/src/query/groupby/SearchGroupByOperator.h @@ -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> iterators_val = index.VectorIterators(dataset, search_conf, bitset);