MeiliSearch/meilisearch-types/src
meili-bors[bot] a616a1d37b
Merge #4389
4389: Stabilize scoreDetails r=dureuill a=dureuill

# Pull Request

## Related issue
Fixes #4359

## What does this PR do?

### User standpoint

- Users no longer need to enable the `scoreDetails` experimental feature to use `showRankingScoreDetails` in search queries.
- ⚠️ **Breaking change**: sending an object containing the key `"scoreDetails"` to the `/experimental-features` route is now an error. However, importing a dump of a database where that feature was enabled completes successfully.

### Implementation standpoint
- remove `scoreDetails` from the experimental features
- remove check on the experimental feature `scoreDetails` before accepting `showRankingScoreDetails`
- remove `scoreDetails` from the accepted fields in the `/experimental-features` route
- fix tests accordingly

## Manual tests

1. exported a dump with the `scoreDetails` feature enabled on `main`
    - tried to import the dump after the changes in this PR
    - the dump imported successfully
2. tried to make a search with `showRankingScoreDetails: true`
    - the ranking score details are displayed
    - an automated test case also exists and passes
3. tried to enable the `scoreDetails` in `/experimental-features`
    - get error message 
      ```
       Unknown field `scoreDetails`: expected one of `vectorStore`, `metrics`, `exportPuffinReports`
      ```

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2024-02-08 10:40:00 +00:00
..
deserr Deserialize semantic ratio 2023-12-14 16:08:42 +01:00
compression.rs Compress the snapshot in a tarball 2022-10-27 11:35:15 +02:00
document_formats.rs removed unnecessary borrow call 2023-08-10 08:41:25 +02:00
error.rs Don't accept dimensions of 0 (ever) or dimensions greater than the default dimensions of the model 2024-02-07 11:52:09 +01:00
facet_values_sort.rs Move the sortFacetValuesBy in the faceting settings 2023-06-29 14:33:31 +02:00
features.rs Stabilize scoreDetails 2024-02-06 11:15:19 +01:00
index_uid_pattern.rs bump deserr 2023-02-14 20:04:30 +01:00
index_uid.rs bump deserr 2023-02-14 20:04:30 +01:00
keys.rs implement the snapshots on demand 2023-09-11 12:35:57 +02:00
lib.rs return a task view instead of a task 2023-12-19 10:35:51 +01:00
settings.rs Don't display the embedders setting when it is an empty dict 2024-01-11 21:35:06 +01:00
star_or.rs get rids of the unwrap_any function in favor of take_cf_content 2023-02-14 20:06:31 +01:00
task_view.rs return a task view instead of a task 2023-12-19 10:35:51 +01:00
tasks.rs fix the type of the document deletion by filter tasks 2023-05-30 15:18:52 +02:00
versioning.rs Updated messages pointing to the docs website 2023-04-28 20:52:03 +00:00