diff --git a/internal/core/unittest/test_bf_sparse.cpp b/internal/core/unittest/test_bf_sparse.cpp index 4724874ebc039..4f82e42ecb57a 100644 --- a/internal/core/unittest/test_bf_sparse.cpp +++ b/internal/core/unittest/test_bf_sparse.cpp @@ -143,12 +143,13 @@ class TestSparseFloatSearchBruteForce : public ::testing::Test { AssertMatch(ref, ans); } - auto result3 = BruteForceSearchIterators(query_dataset, - raw_dataset, - search_info, - index_info, - bitset_view, - DataType::VECTOR_SPARSE_FLOAT); + auto result3 = PackBruteForceSearchIteratorsIntoSubResult( + query_dataset, + raw_dataset, + search_info, + index_info, + bitset_view, + DataType::VECTOR_SPARSE_FLOAT); auto iterators = result3.chunk_iterators(); for (int i = 0; i < nq; i++) { auto it = iterators[i];