rename located_query_terms_from_string -> located_query_terms_from_tokens

This commit is contained in:
Louis Dureuil 2023-05-02 18:53:01 +02:00
parent aa63091752
commit 7b8cc25625
No known key found for this signature in database
5 changed files with 8 additions and 9 deletions

View file

@ -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>,