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 `=` case in `filter::extract_num_comparator` to avoid confusion. (#1910)
Harpreet Sangar6376e3951d95
diff --git a/src/filter.cpp b/src/filter.cppindex 757bb4b7..65390397 100644--- a/src/filter.cpp+++ b/src/filter.cpp@@ -54,6 +54,8 @@ Option<NUM_COMPARATOR> filter::extract_num_comparator(string &comp_and_value) {num_comparator = GREATER_THAN;}+ // "=" case is handled upstream.+else if(comp_and_value.find("..") != std::string::npos) {num_comparator = RANGE_INCLUSIVE;}