Use word_prefix_docids, make get_word_prefix_docids private

This commit is contained in:
Louis Dureuil
2023-04-11 22:06:10 +02:00
committed by Loïc Lecrenier
parent c20c38a7fa
commit 7a01f20df7
5 changed files with 14 additions and 7 deletions

View File

@ -434,7 +434,7 @@ fill: \"#B6E2D3\"
writeln!(file, "{}: phrase", p.description(ctx))?;
}
if let Some(w) = term_subset.use_prefix_db(ctx) {
let w = ctx.word_interner.get(w);
let w = ctx.word_interner.get(w.interned());
writeln!(file, "{w}: prefix db")?;
}