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
Fix KV constructor parameters
ozanarmagandafde32ce0a1
diff --git a/include/topster.h b/include/topster.hindex c7378f2b..a16b4440 100644--- a/include/topster.h+++ b/include/topster.h@@ -24,7 +24,7 @@ struct KV {// to be used only in final aggregationuint64_t* query_indices = nullptr;- KV(uint16_t queryIndex, uint64_t key, uint64_t distinct_key, uint8_t match_score_index, const int64_t *scores,+ KV(uint16_t queryIndex, uint64_t key, uint64_t distinct_key, int8_t match_score_index, const int64_t *scores,reference_filter_result_t* reference_filter_result = nullptr):match_score_index(match_score_index), query_index(queryIndex), array_index(0), key(key),distinct_key(distinct_key), reference_filter_result(reference_filter_result) {