MeiliSearch/crates
meili-bors[bot] a12b06d99d
Merge #5369
5369: exhaustive facet search r=ManyTheFish a=ManyTheFish

Fixes #5403

This PR adds an `exhaustiveFacetCount` field to the `/facet-search` API allowing the end-user to have a better facet count when having a distinct attribute set in the index settings.

 # Usage

`POST /index/:index_uid/facet-search`
**Body:**
```json
{
  "facetQuery": "blob",
  "facetName": "genres",
  "q": "",
  "exhaustiveFacetCount": true
}
```

# Prototype Docker images

```sh
$ docker pull getmeili/meilisearch:prototype-exhaustive-facet-search-00
```

Co-authored-by: ManyTheFish <many@meilisearch.com>
2025-03-13 10:36:04 +00:00
..
benchmarks Update tests using filterable attributes rules 2025-03-03 10:33:34 +01:00
build-info Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
dump Update dumps 2025-03-03 10:33:39 +01:00
file-store Upgrade incompatible dependencies 2025-01-08 15:58:03 +01:00
filter-parser Refactor search and facet-search 2025-03-03 10:25:32 +01:00
flatten-serde-json Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fuzzers Fix the tests to use the new replace/update documents 2025-02-03 10:34:07 +01:00
index-scheduler Merge #5254 2025-03-12 09:00:43 +00:00
json-depth-checker Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
meili-snap Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
meilisearch Merge #5369 2025-03-13 10:36:04 +00:00
meilisearch-auth Upgrade incompatible dependencies 2025-01-08 15:58:03 +01:00
meilisearch-types Merge #5369 2025-03-13 10:36:04 +00:00
meilitool Remove unsafes 2025-02-12 10:46:45 +01:00
milli Make sure to delete useless prefixes 2025-03-12 11:24:13 +01:00
permissive-json-pointer Add indices field to _matchesPosition to specify where in an array a match comes from (#5005) 2024-11-20 01:00:43 +01:00
tracing-trace Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
xtask Put the Ollama tests under a feature 2025-02-06 17:27:47 +01:00