MeiliSearch/crates/meilisearch
meili-bors[bot] 1537323eb9
Merge #5119
5119: Settings opt out error msg r=Kerollmops a=ManyTheFish

# Pull Request

## Related issue
PRD: https://meilisearch.notion.site/API-usage-Settings-to-opt-out-indexing-features-fff4b06b651f8108ade3f858aeb16b14?pvs=4
## What does this PR do?

Add a new error code and message when the user tries a facet search on an index where the facet search is disabled:
```json
{
  "message": "The facet search is disabled for this index",
  "code": "facet_search_disabled",
  "type": "invalid_request",
  "link": "https://docs.meilisearch.com/errors#invalid_facet_search_disabled"
}
 ```


Co-authored-by: ManyTheFish <many@meilisearch.com>
2024-12-05 13:51:11 +00:00
..
src Merge #5119 2024-12-05 13:51:11 +00:00
tests Change error code 2024-12-05 14:48:29 +01:00
build.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
Cargo.toml Merge #5094 2024-12-03 08:00:55 +00:00