Improve the visual/detailed search logger

This commit is contained in:
Loïc Lecrenier
2023-02-23 13:13:19 +01:00
parent 6ba4d5e987
commit 173e37584c
9 changed files with 192 additions and 24 deletions

View File

@ -51,7 +51,7 @@ pub fn word_derivations(
let mut two_typos = vec![];
if max_typo == 0 {
if is_prefix {
if is_prefix && !use_prefix_db {
let prefix = Str::new(word).starts_with();
let mut stream = fst.search(prefix).into_stream();