MeiliSearch/milli
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
..
src Reduce incremental indexing time of words_prefix_position_docids DB 2023-01-31 11:42:24 +01:00
tests clippy: --fix 2023-01-31 11:12:59 +01:00
Cargo.toml bump milli 2023-01-24 13:52:21 +01:00