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 Index::search(std::vector& 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;