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
Update doc API should return 200 status code, and not 201.
Kishore Nallan5d64d7d090f6
diff --git a/src/core_api.cpp b/src/core_api.cppindex 8242d7e1..bfdcce1e 100644--- a/src/core_api.cpp+++ b/src/core_api.cpp@@ -1283,7 +1283,7 @@ bool patch_update_document(const std::shared_ptr<http_req>& req, const std::sharreturn false;}- res->set_201(upserted_doc_op.get().dump(-1, ' ', false, nlohmann::detail::error_handler_t::ignore));+ res->set_200(upserted_doc_op.get().dump(-1, ' ', false, nlohmann::detail::error_handler_t::ignore));return true;}