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
Free result ids after override search.
Kishore Nallan1ddf141f9797
diff --git a/src/index.cpp b/src/index.cppindex fc6789d0..b6bbbaf0 100644--- a/src/index.cpp+++ b/src/index.cpp@@ -2002,6 +2002,8 @@ bool Index::check_for_overrides(const token_ordering& token_order, const string&&result_ids, result_ids_len, field_num_results, 0, group_by_fields,false, 4, query_hashes, token_order, false, 0, 1, false, 3, 7);+ delete [] result_ids;+if(result_ids_len != 0) {// remove window_tokens from `tokens`std::vector<std::string> new_tokens;