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 large import body regression.
Kishore Nallan86a80d6603a9
diff --git a/src/batched_indexer.cpp b/src/batched_indexer.cppindex 7c47090a..cb5b5403 100644--- a/src/batched_indexer.cpp+++ b/src/batched_indexer.cpp@@ -52,6 +52,7 @@ void BatchedIndexer::enqueue(const std::shared_ptr<http_req>& req, const std::sh{const std::string& coll_name = get_collection_name(req);uint64_t queue_id = StringUtils::hash_wy(coll_name.c_str(), coll_name.size()) % num_threads;+ req->body = "";{std::unique_lock lk1(qmutuxes[queue_id].mcv);@@ -81,6 +82,8 @@ void BatchedIndexer::enqueue(const std::shared_ptr<http_req>& req, const std::shstd::this_thread::sleep_for(std::chrono::milliseconds (10));}}+ } else {+ req->body = "";}if(read_more_input) {