MeiliSearch/milli/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
..
documents Rename trait 2023-11-13 13:38:36 +01:00
facet update milli with the new parser_filter 2021-11-04 15:02:36 +01:00
heed_codec Clarify an unreachable unwrap 2023-11-28 14:26:31 +01:00
prompt Remove prompt strategy and fallback 2023-12-14 16:08:41 +01:00
search Merge #4313 2024-01-11 14:19:44 +00:00
snapshots/index.rs Fix tests 2023-06-14 13:30:52 +02:00
update fix warning 2024-01-02 15:19:30 +01:00
vector Fix warning on rust stable 2023-12-20 17:48:09 +01: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
error.rs Add new errors 2023-12-20 17:16:45 +01:00
external_documents_ids.rs Make clippy happy 2023-11-23 14:11:38 +01:00
fields_ids_map.rs Rename trait 2023-11-13 13:38:36 +01:00
index.rs Various changes 2023-12-14 16:08:41 +01:00
lib.rs hybrid search uses semantic ratio, error handling 2023-12-14 16:08:42 +01:00
proximity.rs Change the naming of attributeScale and wordScale into byAttribute and byWord 2023-12-14 16:31:00 +01:00
score_details.rs Small commit to add hybrid search and autoembedding 2023-12-14 16:07:48 +01:00
snapshot_tests.rs Update tests 2023-11-13 13:36:39 +01:00