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
Merge branch 'v0.24-changes' into v0.24-nested
Kishore Nallan58bdcc2e6f72
diff --cc src/collection.cppindex 4f9844c4,7bf0561b..83f3b735--- a/src/collection.cpp+++ b/src/collection.cpp@@@ -646,9 -701,9 +673,9 @@@ Option<bool> Collection::validate_and_s}}- if(sort_field_std.name != sort_field_const::text_match) {+ if (sort_field_std.name != sort_field_const::text_match && sort_field_std.name != sort_field_const::eval) {const auto field_it = search_schema.find(sort_field_std.name);- if(field_it == search_schema.end() || !field_it->second.sort || !field_it->second.index) {+ if(field_it == search_schema.end() || !field_it.value().sort || !field_it.value().index) {std::string error = "Could not find a field named `" + sort_field_std.name +"` in the schema for sorting.";return Option<bool>(404, error);diff --cc src/index.cppindex fd569589,24850e07..c157a948--- a/src/index.cpp+++ b/src/index.cpp@@@ -2143,8 -2145,9 +2144,9 @@@ bool Index::check_for_overrides(const tcontinue;}+ std::vector<sort_by> sort_fields;- search_field(0, window_tokens, nullptr, 0, num_toks_dropped, field_it->second, field_name,+ search_field(0, window_tokens, nullptr, 0, num_toks_dropped, field_it.value(), field_name,- nullptr, 0, {}, {}, -1, 0, searched_queries, topster, groups_processed,+ nullptr, 0, {}, sort_fields, -1, 0, searched_queries, topster, groups_processed,&result_ids, result_ids_len, field_num_results, 0, group_by_fields,false, 4, query_hashes, token_order, false, 0, 0, false, -1, 3, 7, 4);