mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
Use word_prefix_docids, make get_word_prefix_docids private
This commit is contained in:
committed by
Loïc Lecrenier
parent
c20c38a7fa
commit
7a01f20df7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user