mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 12:35:05 +08:00
a2690ea8d4
This database can easily contain millions of entries. Thus, iterating over it can be very expensive. For regular `documentAdditionOrUpdate` tasks, `del_prefix_fst_words` will always be empty. Thus, we can save a significant amount of time by adding this `if !del_prefix_fst_words.is_empty()` condition. The code's behaviour remains completely unchanged. |
||
---|---|---|
.. | ||
facet | ||
index_documents | ||
prefix_word_pairs | ||
snapshots/delete_documents.rs | ||
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 | ||
words_prefix_position_docids.rs | ||
words_prefixes_fst.rs |