Skip to content

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

Rename "took_ms" to "search_time_ms".

Kishore Nallan94b380410d2b
diff --git a/src/api.cpp b/src/api.cpp
index 82c8a605..64af68b2 100644
--- a/src/api.cpp
+++ b/src/api.cpp
@@ -260,7 +260,7 @@ void get_search(http_req & req, http_res & res) {
}
nlohmann::json result = result_op.get();
- result["took_ms"] = timeMillis;
+ result["search_time_ms"] = timeMillis;
result["page"] = std::stoi(req.params[PAGE]);
const std::string & results_json_str = result.dump();