meilisearch/milli/src/update
Loïc Lecrenier a2690ea8d4 Reduce incremental indexing time of words_prefix_position_docids DB
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.
2023-01-31 11:42:24 +01:00
..
facet clippy: needless_lifetimes 2023-01-31 11:12:59 +01:00
index_documents clippy: --fix 2023-01-31 11:12:59 +01:00
prefix_word_pairs Avoid a prefix-related worst-case scenario in the proximity criterion 2022-12-22 12:08:00 +01:00
snapshots/delete_documents.rs Tests: rename snapshots 2022-12-19 10:07:17 +01:00
available_documents_ids.rs Fix cargo clippy errors 2022-10-27 01:04:23 +09:00
clear_documents.rs Give same interface to bulk and incremental facet indexing types 2022-10-26 13:47:04 +02:00
delete_documents.rs clippy: needless_lifetimes 2023-01-31 11:12:59 +01:00
facets.rs Merge remote-tracking branch 'origin/main' into facet-levels-refactor 2022-10-26 15:13:34 +02:00
indexer_config.rs document batch support 2022-01-19 12:40:20 +01:00
mod.rs Avoid a prefix-related worst-case scenario in the proximity criterion 2022-12-22 12:08:00 +01:00
settings.rs Update deserr to latest version 2023-01-17 11:28:19 +01:00
update_step.rs Implement documents format 2021-09-21 16:58:33 +02:00
word_prefix_docids.rs Fixing piles of clippy errors. 2022-10-13 22:02:54 +02:00
words_prefix_position_docids.rs Reduce incremental indexing time of words_prefix_position_docids DB 2023-01-31 11:42:24 +01:00
words_prefixes_fst.rs Fix clippy errors 2022-11-04 09:27:46 +09:00