Don't expose sequence id.

This commit is contained in:
Kishore Nallan 2019-08-18 08:34:33 +05:30
parent 9f788546c8
commit bbefabea94

View File

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