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

Update test.

Harpreet Sangar3e78413e1f26
diff --git a/test/collection_specific_more_test.cpp b/test/collection_specific_more_test.cpp
index 65a94a71..b8419b37 100644
--- a/test/collection_specific_more_test.cpp
+++ b/test/collection_specific_more_test.cpp
@@ -2329,7 +2329,7 @@ TEST_F(CollectionSpecificMoreTest, ApproxFilterMatchCount) {
ASSERT_TRUE(filter_op.ok());
coll->_get_index()->_approximate_filter_ids(filter_tree_root->filter_exp, approx_count);
- ASSERT_EQ(approx_count, 100);
+ ASSERT_EQ(approx_count, 1);
delete filter_tree_root;
filter_op = filter::parse_filter_query("years:>2000 && ((age:<30 && rating:>5) || (age:>50 && rating:<5))",