MeiliSearch/meilisearch/src
meili-bors[bot] e93d36d5b9
Merge #4313
4313: Fix document formatting performances r=Kerollmops a=ManyTheFish

reduce the formatted option list to the attributes that should be formatted,
instead of all the attributes to display.
The time to compute the `format` list scales with the number of fields to format;
cumulated with `map_leaf_values` that iterates over all the nested fields, it gives a quadratic complexity:
`d*f` where `d` is the total number of fields to display and `f` is the total number of fields to format.

Co-authored-by: ManyTheFish <many@meilisearch.com>
2024-01-11 14:19:44 +00:00
..
analytics Add an Authorization Header along with the webhook calls 2023-12-19 12:18:45 +01:00
extractors fix test name 2023-05-16 09:24:49 +02:00
routes Fix proximity precision telemetry 2024-01-11 13:24:26 +01:00
error.rs hybrid search uses semantic ratio, error handling 2023-12-14 16:08:42 +01:00
lib.rs Add an Authorization Header along with the webhook calls 2023-12-19 12:18:45 +01:00
main.rs Small commit to add hybrid search and autoembedding 2023-12-14 16:07:48 +01:00
metrics.rs Merge #3851 2023-07-03 13:41:04 +00:00
middleware.rs index_scheduler.features() is no longer fallible 2023-10-23 10:38:56 +02:00
option.rs Add an Authorization Header along with the webhook calls 2023-12-19 12:18:45 +01:00
search.rs Merge #4313 2024-01-11 14:19:44 +00:00