Rename "took_ms" to "search_time_ms".

This commit is contained in:
Kishore Nallan 2018-01-05 07:58:26 +05:30
parent 6596e5d8dd
commit 94b380410d

View File

@ -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();