mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 18:45:06 +08:00
8efac33b53
467: optimize prefix database r=Kerollmops a=MarinPostma This pr introduces two optimizations that greatly improve the speed of computing prefix databases. - The time that it takes to create the prefix FST has been divided by 5 by inverting the way we iterated over the words FST. - We unconditionally and needlessly checked for documents to remove in `word_prefix_pair`, which caused an iteration over the whole database. Co-authored-by: ad hoc <postma.marin@protonmail.com> |
||
---|---|---|
.. | ||
index_documents | ||
available_documents_ids.rs | ||
clear_documents.rs | ||
delete_documents.rs | ||
facets.rs | ||
indexer_config.rs | ||
mod.rs | ||
settings.rs | ||
update_step.rs | ||
word_prefix_docids.rs | ||
word_prefix_pair_proximity_docids.rs | ||
words_prefix_position_docids.rs | ||
words_prefixes_fst.rs |