Remove old criteria code

This commit is contained in:
Loïc Lecrenier
2023-03-23 09:35:53 +01:00
parent 9b2653427d
commit f5f5f03ec0
18 changed files with 88 additions and 5345 deletions

View File

@ -427,7 +427,7 @@ impl LocatedQueryTerm {
/// Convert the tokenised search query into a list of located query terms.
pub fn located_query_terms_from_string(
ctx: &mut SearchContext,
query: NormalizedTokenIter<Vec<u8>>,
query: NormalizedTokenIter<&[u8]>,
words_limit: Option<usize>,
) -> Result<Vec<LocatedQueryTerm>> {
let nbr_typos = number_of_typos_allowed(ctx)?;