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

Don't expose sequence id.

Kishore Nallanbbefabea94cb
diff --git a/src/collection.cpp b/src/collection.cpp
index 131daa42..6c764788 100644
--- a/src/collection.cpp
+++ b/src/collection.cpp
@@ -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);
}