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
Allow cache ttl to be set only within scoped key.
Kishore Nallancd09bf7d8816
diff --git a/src/http_server.cpp b/src/http_server.cppindex f58fdb63..ef7b0001 100644--- a/src/http_server.cpp+++ b/src/http_server.cpp@@ -351,6 +351,9 @@ int HttpServer::catch_all_handler(h2o_handler_t *_h2o_handler, h2o_req_t *req) {std::map<std::string, std::string> query_map;StringUtils::parse_query_string(query_str, query_map);+ // cache ttl can be applied only from an embedded key+ query_map.erase("cache_ttl");+// Extract auth key from header. If that does not exist, look for a GET parameter.std::string api_auth_key_sent = "";