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

Remove stray doc_id -> seq_id resolution.

Kishore Nallana6478149560f
diff --git a/src/collection.cpp b/src/collection.cpp
index 2a2fb02f..3cff1c81 100644
--- a/src/collection.cpp
+++ b/src/collection.cpp
@@ -2658,10 +2658,6 @@ Option<nlohmann::json> Collection::search(std::string raw_query,
remove_flat_fields(document);
remove_reference_helper_fields(document);
- auto doc_id_op = doc_id_to_seq_id(document["id"].get<std::string>());
- if (!doc_id_op.ok()) {
- return Option<nlohmann::json>(doc_id_op.code(), doc_id_op.error());
- }
auto prune_op = prune_doc(document,
include_fields_full,