MeiliSearch/milli
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
..
examples Small commit to add hybrid search and autoembedding 2023-12-14 16:07:48 +01:00
src Merge #4313 2024-01-11 14:19:44 +00:00
tests Merge branch 'main' into tmp-release-v1.5.0 2023-11-21 16:30:46 +01:00
Cargo.toml Remove dependency that requires libstdc++ 2023-12-18 22:17:18 +01:00
README.md Add a README to the milli crate 2023-01-16 16:25:12 +01:00

the milli logo

a concurrent indexer combined with fast and relevant search algorithms

Introduction

This crate contains the internal engine used by Meilisearch.

It contains a library that can manage one and only one index. Meilisearch manages the multi-index itself. Milli is unable to store updates in a store: it is the job of something else above and this is why it is only able to process one update at a time.