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 Sangard0069fe2d3d4
diff --git a/src/index.cpp b/src/index.cpp
index 6592b87b..e88badc0 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) {