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

correcting indent

krunal1b4452a6e179
diff --git a/src/index.cpp b/src/index.cpp
index 132c5f46..15dcaabd 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -3355,11 +3355,11 @@ Option<bool> Index::search(std::vector<query_tokens_t>& field_query_tokens, cons
auto& acc_facet = facets[fi];
for(auto & facet_kv: this_facet.result_map) {
- if (group_limit) {
+ if(group_limit) {
// we have to add all group sets
acc_facet.hash_groups[facet_kv.first].insert(
- this_facet.hash_groups[facet_kv.first].begin(),
- this_facet.hash_groups[facet_kv.first].end()
+ this_facet.hash_groups[facet_kv.first].begin(),
+ this_facet.hash_groups[facet_kv.first].end()
);
} else {
size_t count = 0;