We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22da9cd commit 4387348Copy full SHA for 4387348
src/search.rs
@@ -1487,6 +1487,21 @@ mod tests {
1487
Ok(())
1488
}
1489
1490
+ #[meilisearch_test]
1491
+ async fn test_facet_search_with_exhaustive_facet_count(
1492
+ client: Client,
1493
+ index: Index,
1494
+ ) -> Result<(), Error> {
1495
+ setup_test_index(&client, &index).await?;
1496
+ let res = index
1497
+ .facet_search("kind")
1498
+ .with_exhaustive_facet_count(true)
1499
+ .execute()
1500
+ .await?;
1501
+ assert_eq!(res.facet_hits.len(), 2);
1502
+ Ok(())
1503
+ }
1504
+
1505
#[meilisearch_test]
1506
async fn test_facet_search_with_facet_query(client: Client, index: Index) -> Result<(), Error> {
1507
setup_test_index(&client, &index).await?;
0 commit comments