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

Add `Index::adaptive_filter`.

Harpreet Sangarf4b8912e1985
diff --git a/src/index.cpp b/src/index.cpp
index 1b20867a..0379ae43 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -1830,6 +1830,7 @@ Option<bool> Index::rearrange_filter_tree(filter_node_t* const root,
if (root == nullptr) {
return Option(true);
}
+
if (root->isOperator) {
uint32_t l_filter_ids_length = 0;
if (root->left != nullptr) {