Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Disable short circuit for filtering.

Kishore Nallan076d5f67115d
diff --git a/src/index.cpp b/src/index.cpp
index 2599e713..e5d4d6e1 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -1211,10 +1211,6 @@ void Index::do_filtering(uint32_t*& filter_ids, uint32_t& filter_ids_length,
for(size_t i = 0; i < filters.size(); i++) {
const filter & a_filter = filters[i];
- if(enable_short_circuit) {
- RETURN_CIRCUIT_BREAKER
- }
-
if(a_filter.field_name == "id") {
// we handle `ids` separately
std::vector<uint32> result_ids;