Skip to content

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

merge v0.26-filter

krunal131300809e89e438
diff --cc include/index.h
index 78f04f76,af37840e..d2f725fc
--- a/include/index.h
+++ b/include/index.h
@@@ -520,13 -519,10 +520,11 @@@ private
const std::string& token, uint32_t seq_id);
void initialize_facet_indexes(const field& facet_field);
-
+
+ void create_facet_hash_index(const field& facet_field);
-
-
- static Option<bool> embed_fields(nlohmann::json& document,
- const tsl::htrie_map<char, field>& embedding_fields,
- const tsl::htrie_map<char, field> & search_schema);
+ static Option<bool> batch_embed_fields(std::vector<nlohmann::json*>& documents,
+ const tsl::htrie_map<char, field>& embedding_fields,
+ const tsl::htrie_map<char, field> & search_schema);
public:
// for limiting number of results on multiple candidates / query rewrites