MeiliSearch/milli
many cdeb07f0fd
Fix prefix level position docids database
The prefix search was inverted when we generated the DB.
Instead of searching if word had a prefix in prefix fst,
we were searching if the word was a prefix of a prefix contained in the prefix fst.
The indexer, now, iterate over prefix contained in the fst
and search them by prefix in the word-level-position-docids database,
aggregating matches in a sorter.

Fix #299
2021-08-04 14:11:49 +02:00
..
src Fix prefix level position docids database 2021-08-04 14:11:49 +02:00
tests Fix PR comments 2021-06-17 15:19:03 +02:00
Cargo.toml Use an u16 field id instead of one byte 2021-07-06 11:58:03 +02:00