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
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Add test for OR geo point filter query.
Kishore Nallan735a24e2b962
diff --git a/test/collection_filtering_test.cpp b/test/collection_filtering_test.cppindex 1ad3c62c..1628c2dc 100644--- a/test/collection_filtering_test.cpp+++ b/test/collection_filtering_test.cpp@@ -1101,6 +1101,13 @@ TEST_F(CollectionFilteringTest, GeoPointFiltering) {ASSERT_STREQ("1", results["hits"][0]["document"]["id"].get<std::string>().c_str());++ results = coll1->search("*", {}, "loc: (48.90615, 2.34358, 1 km) || "+ "loc: (48.8462, 2.34515, 1 km)",+ {}, {}, {0}, 10, 1, FREQUENCY).get();++ ASSERT_EQ(2, results["found"].get<size_t>());+// pick location close to none of the spotsresults = coll1->search("*",{}, "loc: (48.910544830985785, 2.337218333651177, 2 km)",