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 image embedding requirement regression.
Kishore Nallan403f6a8fc245
diff --git a/src/index.cpp b/src/index.cppindex 86fc0124..6494bc09 100644--- a/src/index.cpp+++ b/src/index.cpp@@ -7070,7 +7070,7 @@ void Index::batch_embed_fields(std::vector<index_record*>& records,const size_t remote_embedding_timeout_ms, const size_t remote_embedding_num_tries) {for(const auto& field : embedding_fields) {std::vector<std::pair<index_record*, std::string>> values_to_embed;- bool is_image_embedding;+ bool is_image_embedding = false;auto indexing_prefix = EmbedderManager::get_instance().get_indexing_prefix(field.embed[fields::model_config]);for(auto& record : records) {if(!record->indexed.ok()) {@@ -7124,9 +7124,6 @@ void Index::batch_embed_fields(std::vector<index_record*>& records,std::vector<embedding_res_t> embeddings;---// sort texts by lengthif(!is_image_embedding) {std::sort(values_to_embed.begin(), values_to_embed.end(),