mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
rename located_query_terms_from_string -> located_query_terms_from_tokens
This commit is contained in:
parent
aa63091752
commit
7b8cc25625
5 changed files with 8 additions and 9 deletions
|
@ -5,8 +5,7 @@ use super::*;
|
|||
use crate::{Result, SearchContext, MAX_WORD_LENGTH};
|
||||
|
||||
/// Convert the tokenised search query into a list of located query terms.
|
||||
// TODO: checking if the positions are correct for phrases, separators, ngrams
|
||||
pub fn located_query_terms_from_string(
|
||||
pub fn located_query_terms_from_tokens(
|
||||
ctx: &mut SearchContext,
|
||||
query: NormalizedTokenIter<&[u8]>,
|
||||
words_limit: Option<usize>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue