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 prefix GET API.
Kishore Nallan0b1c833d45ff
diff --git a/src/core_api.cpp b/src/core_api.cppindex e3b17d6a..86b85e27 100644--- a/src/core_api.cpp+++ b/src/core_api.cpp@@ -1816,7 +1816,7 @@ bool get_presets(const std::shared_ptr<http_req>& req, const std::shared_ptr<htt}bool get_preset(const std::shared_ptr<http_req>& req, const std::shared_ptr<http_res>& res) {- const std::string & preset_name = req->params["preset_name"];+ const std::string & preset_name = req->params["name"];CollectionManager & collectionManager = CollectionManager::get_instance();nlohmann::json preset;