mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-11 15:38:55 +01:00
Update milli/src/search/matches/mod.rs
This commit is contained in:
parent
d7fd5c58cd
commit
1237cfc249
@ -116,7 +116,7 @@ pub struct Matcher<'t, 'm, A> {
|
|||||||
impl<'t, A: AsRef<[u8]>> Matcher<'t, '_, A> {
|
impl<'t, A: AsRef<[u8]>> Matcher<'t, '_, A> {
|
||||||
/// Iterates over tokens and save any of them that matches the query.
|
/// Iterates over tokens and save any of them that matches the query.
|
||||||
fn compute_matches(&mut self) -> &mut Self {
|
fn compute_matches(&mut self) -> &mut Self {
|
||||||
/// some word are counted as matches only if there are close together and in the good order,
|
/// some words are counted as matches only if they are close together and in the good order,
|
||||||
/// compute_partial_match peek into next words to validate if the match is complete.
|
/// compute_partial_match peek into next words to validate if the match is complete.
|
||||||
fn compute_partial_match<'a>(
|
fn compute_partial_match<'a>(
|
||||||
mut partial: PartialMatch,
|
mut partial: PartialMatch,
|
||||||
|
Loading…
Reference in New Issue
Block a user