MeiliSearch/milli/src
meili-bors[bot] 914b125c5f
Merge #3945
3945: Do not leak field information on error r=Kerollmops a=vivek-26

# Pull Request

## Related issue
Fixes #3865

## What does this PR do?
This PR ensures that `InvalidSortableAttribute`and `InvalidFacetSearchFacetName` errors do not leak field information i.e. fields which are not part of `displayedAttributes` in the settings are hidden from the error message.

## 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: Vivek Kumar <vivek.26@outlook.com>
2023-08-22 18:55:27 +00:00
..
documents fix the addition + deletion bug 2023-05-17 18:28:57 +02:00
facet update milli with the new parser_filter 2021-11-04 15:02:36 +01:00
heed_codec Normalize for the search the facets values 2023-07-20 17:57:07 +02:00
search Merge #3945 2023-08-22 18:55:27 +00:00
snapshots/index.rs Fix tests 2023-06-14 13:30:52 +02:00
update Merge #3993 2023-08-10 14:30:02 +00:00
asc_desc.rs fmt 2023-03-30 23:37:26 +02:00
criterion.rs update the syntax of the geoboundingbox filter to uses brackets instead of parens around lat and lng 2023-02-06 16:50:27 +01:00
distance.rs Replace the hnsw crate by the instant-distance one 2023-07-25 12:37:35 +02:00
error.rs hide fields not in the displayedAttributes list from errors 2023-08-05 16:03:10 +05:30
external_documents_ids.rs improve the way we handle the fsts 2023-05-22 11:15:14 +02:00
fields_ids_map.rs Fixes for clippy bringing us down to 18 remaining issues. 2022-10-25 20:49:02 +02:00
index.rs Merge #3945 2023-08-22 18:55:27 +00:00
lib.rs Truncate the the normalized long facets used in search for facet value 2023-08-08 16:38:30 +02:00
proximity.rs Remove limit of 1000 position per attribute 2021-10-12 10:10:50 +02:00
readable_slices.rs Make clippy and fmt happy 2023-06-27 12:32:42 +02:00
score_details.rs Fix score details casing 2023-07-25 15:49:33 +02:00
snapshot_tests.rs Add trailing pipe to the snapshots so it doesn't end with trailing whitespace 2023-06-14 13:30:52 +02:00