mirror of
https://github.com/typesense/typesense.git
synced 2025-05-16 03:12:32 +08:00
Don't expose sequence id.
This commit is contained in:
parent
9f788546c8
commit
bbefabea94
@ -684,7 +684,7 @@ Option<nlohmann::json> Collection::search(std::string query, const std::vector<s
|
||||
prune_document(document, include_fields, exclude_fields);
|
||||
wrapper_doc["document"] = document;
|
||||
//wrapper_doc["match_score"] = field_order_kv.match_score;
|
||||
wrapper_doc["seq_id"] = (uint32_t) field_order_kv.key;
|
||||
//wrapper_doc["seq_id"] = (uint32_t) field_order_kv.key;
|
||||
|
||||
result["hits"].push_back(wrapper_doc);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user