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

removing commented code

krunal5dc27ce15217
diff --git a/src/synonym_index.cpp b/src/synonym_index.cpp
index bc9595cd..cfbde766 100644
--- a/src/synonym_index.cpp
+++ b/src/synonym_index.cpp
@@ -60,12 +60,6 @@ void SynonymIndex::synonym_reduction_internal(const std::vector<std::string>& to
syn_def_hashes.push_back(token_hash);
}
-// if (syn_def_hash == syn_hash) {
-// // skip over token matching itself in the group
-// LOG(INFO) << "skipping";
-// continue;
-// }
-
for (size_t i = start_index + window_len; i < tokens.size(); i++) {
new_tokens.push_back(tokens[i]);
}