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 test

krunalf1cbb71cdf24
diff --git a/test/collection_grouping_test.cpp b/test/collection_grouping_test.cpp
index def76477..b98fd02f 100644
--- a/test/collection_grouping_test.cpp
+++ b/test/collection_grouping_test.cpp
@@ -1043,6 +1043,6 @@ TEST_F(CollectionGroupingTest, GroupByMultipleFacetFields) {
ASSERT_EQ(3, (int) res["facet_counts"][1]["counts"][1]["count"]);
ASSERT_STREQ("white", res["facet_counts"][1]["counts"][1]["value"].get<std::string>().c_str());
- ASSERT_EQ(1, (int) res["facet_counts"][1]["counts"][3]["count"]);
- ASSERT_STREQ("red", res["facet_counts"][1]["counts"][3]["value"].get<std::string>().c_str());
+ ASSERT_EQ(1, (int) res["facet_counts"][1]["counts"][2]["count"]);
+ ASSERT_STREQ("red", res["facet_counts"][1]["counts"][2]["value"].get<std::string>().c_str());
}
\ No newline at end of file