MeiliSearch/crates/meilisearch/tests
meili-bors[bot] c63c25a9a2
Merge #5355
5355: Support fetching the pooling method from the model configuration r=Kerollmops a=dureuill

# Pull Request

## Related issue
Fixes #5354 

## What does this PR do?
- Fetches the pooling configuration from the model repository
- Use a pooling method that depends on the pooling configuration of that model.
- Allow overriding the pooling method with a new huggingFace embedder parameter `pooling`
  - for backward-compatibility with Meilisearch v1.13
  - for compatibility with embedders that exhibit the same behavior as Meilisearch v1.13
- Handle the default value of that new parameter
   - for compatibility, when importing a db/a dump, it should be set to `forceMean`
   - when (re)set from the settings for an embedder, it should be set to `useModel`


Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2025-02-27 14:55:13 +00:00
..
assets add a dump test with batches and enqueued tasks 2025-02-11 11:14:49 +01:00
auth Add new permissions 2025-02-05 15:03:16 +01:00
batches Rename callTrace into progressTrace 2025-02-25 10:09:03 +01:00
common Merge #5351 2025-02-18 08:05:02 +00:00
dashboard Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
documents Update Snapshots 2025-02-26 17:01:37 +01:00
dumps Merge #5355 2025-02-27 14:55:13 +00:00
features Make the feature experimental 2025-02-10 16:11:32 +01:00
index fix clippy error 2025-01-21 17:11:29 +01:00
logs #4840 - Partial fix - Confirm task success after waiting for it. 2024-12-24 23:06:07 +11:00
network network integration tests 2025-02-05 15:03:32 +01:00
search Check the exact_word database when computing zero typo query 2025-02-26 17:01:22 +01:00
settings removed unrelated files 2025-01-27 10:35:34 +01:00
similar removed unrelated files 2025-01-27 10:35:34 +01:00
snapshot Format fixes after running: cargo +nightly fmt 2025-01-07 11:16:37 +11:00
stats Update Snapshots 2025-02-26 17:01:37 +01:00
swap_indexes #4840 - Partial fix - Remove hard coded task ids to prevent flaky tests. 2024-12-24 23:05:59 +11:00
tasks Add the new tasks with most of the job done 2025-01-23 16:48:32 +01:00
upgrade Update Snapshots 2025-02-26 17:01:37 +01:00
vector Merge #5351 2025-02-18 08:05:02 +00:00
content_type.rs Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
integration.rs network integration tests 2025-02-05 15:03:32 +01:00