mirror of
https://github.com/typesense/typesense.git
synced 2025-05-23 07:09:44 +08:00
Fix HybridSearchRankFusionTest
.
This commit is contained in:
parent
fdd643b563
commit
5bf8746d0c
@ -240,6 +240,10 @@ public:
|
||||
filter_result_iterator(filter_result_iterator) {}
|
||||
|
||||
bool operator()(hnswlib::labeltype id) override {
|
||||
if (filter_result_iterator->approx_filter_ids_length == 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
filter_result_iterator->reset();
|
||||
return filter_result_iterator->valid(id) == 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user