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
Remove unnecessary topster sort
ozanarmagan8d481d53fdb6
diff --git a/src/index.cpp b/src/index.cppindex 6a345c85..73a7ba59 100644--- a/src/index.cpp+++ b/src/index.cpp@@ -3202,7 +3202,6 @@ Option<bool> Index::search(std::vector<query_tokens_t>& field_query_tokens, consstd::sort(kvs.begin(), kvs.end(), Topster::is_greater);- topster->sort();// Reciprocal rank fusion// Score is sum of (1 / rank_of_document) * WEIGHT from each list (text match and vector search)for(uint32_t i = 0; i < kvs.size(); i++) {