MeiliSearch/crates/milli/src
meili-bors[bot] fc23a0ee52
Merge #5135
5135: Check all search filter attributes are filterable upfront r=curquiza a=jameshiew

# Pull Request

## Related issue
Fixes #5069

## What does this PR do?
- checks all `fid`s in the `Filter` tree are filterable before evaluating search query
- returns AttributeNotFilterable error if any are not

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Co-authored-by: James Hiew <james@hiew.net>
2024-12-24 10:09:35 +00:00
..
documents User failure for documents with docid of ==512 bytes 2024-12-10 11:06:24 +01:00
facet Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fields_ids_map First batch of PR comment 2024-11-21 16:38:11 +01:00
heed_codec Rename serialize_into into serialize_into_writer 2024-12-02 10:03:27 +01:00
prompt Return docid in case of errors while rendering the document template 2024-12-11 15:26:18 +01:00
search Merge #5135 2024-12-24 10:09:35 +00:00
snapshots/index.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
update Merge #5159 2024-12-12 17:16:53 +00:00
vector Correctly construct the Embeddings struct 2024-11-28 13:53:25 +01:00
asc_desc.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
criterion.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
error.rs Fix error messages 2024-12-10 11:06:58 +01:00
external_documents_ids.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fieldids_weights_map.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fields_ids_map.rs Merge branch 'indexer-edition-2024' into indexer-edition-2024-doc-chunks 2024-11-06 15:50:53 +01:00
index.rs inital implementation of the progress 2024-12-11 16:25:01 +01:00
lib.rs inital implementation of the progress 2024-12-11 16:25:01 +01:00
localized_attributes_rules.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
order_by_map.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
progress.rs rename the Step::name into Step::current_step 2024-12-11 18:41:03 +01:00
proximity.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
score_details.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
snapshot_tests.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
thread_pool_no_abort.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00