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 Sangarc4ef71f274df
diff --git a/src/index.cpp b/src/index.cpp
index cd307846..f9ba9f35 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -1958,6 +1958,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) {