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

Disable debug logs enabled accidentally.

kishorenc690bb97ff547
diff --git a/src/index.cpp b/src/index.cpp
index 377c532f..ff345a7f 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -846,11 +846,11 @@ void Index::search_candidates(const uint8_t & field_id,
uint32_t total_cost = next_suggestion(token_candidates_vec, n, actual_query_suggestion,
query_suggestion, token_bits);
- LOG(INFO) << "n: " << n;
+ /*LOG(INFO) << "n: " << n;
for(size_t i=0; i < query_suggestion.size(); i++) {
LOG(INFO) << "i: " << i << " - " << query_suggestion[i]->key << ", ids: "
<< query_suggestion[i]->values->ids.getLength() << ", total_cost: " << total_cost;
- }
+ }*/
// initialize results with the starting element (for further intersection)
size_t result_size = query_suggestion[0]->values->ids.getLength();