mirror of
https://github.com/typesense/typesense.git
synced 2025-05-20 13:42:26 +08:00
Rename "took_ms" to "search_time_ms".
This commit is contained in:
parent
6596e5d8dd
commit
94b380410d
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user