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 typo in doc del.
Kishore Nalland811d62d8fd7
diff --git a/src/core_api.cpp b/src/core_api.cppindex e35ea31d..d6dcf404 100644--- a/src/core_api.cpp+++ b/src/core_api.cpp@@ -1484,7 +1484,7 @@ bool del_remove_document(const std::shared_ptr<http_req>& req, const std::sharedOption<std::string> deleted_id_op = collection->remove(doc_id);if (!deleted_id_op.ok()) {- if (ignore_not_found && doc_option.code() == 404) {+ if (ignore_not_found && deleted_id_op.code() == 404) {nlohmann::json resp;resp["id"] = doc_id;res->set_200(resp.dump());