mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Use word_prefix_docids, make get_word_prefix_docids private
This commit is contained in:
parent
c20c38a7fa
commit
7a01f20df7
5 changed files with 14 additions and 7 deletions
|
@ -44,7 +44,7 @@ pub fn compute_query_term_subset_docids(
|
|||
}
|
||||
|
||||
if let Some(prefix) = term.use_prefix_db(ctx) {
|
||||
if let Some(prefix_docids) = ctx.get_db_word_prefix_docids(prefix)? {
|
||||
if let Some(prefix_docids) = ctx.word_prefix_docids(prefix)? {
|
||||
docids |= prefix_docids;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue