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

compile fix

krunal1313e1e735173a29
diff --git a/src/facet_index.cpp b/src/facet_index.cpp
index 82e1e4f5..e007710b 100644
--- a/src/facet_index.cpp
+++ b/src/facet_index.cpp
@@ -19,7 +19,6 @@ uint32_t facet_index_t::insert(const std::string& field, const std::string& valu
uint32_t index = 0;
auto& facet_index_map = facet_field_map[field].facet_index_map;
- uint32_t index;
const auto sv = value.substr(0, 100);
const auto it = facet_index_map.find(sv);