Closed ManyTheFish closed 1 year ago
@irevoire, Words
and Typo
criteria contain an Option<InitialCandidates>
instead of InitialCandidates
, so I had to make a different match
.
This comes from the fact that these two criteria are "lazier" than the others because they may not compute any candidates at their step letting the following criterion do it for them.
Poke @curquiza about this fix.
Is it normal we haven't added any tests here? At least both of the cases reported by the users
When
Typo
criterion was after a different criterion thanWords
and the previous criterion wasn't returning any candidates at the first iteration of the bucket sort, then theinitial_candidates
were lost.Now,
Typo
ensure to keep theinitial_candidates
between iterations.related to https://github.com/meilisearch/meilisearch/issues/3200#issuecomment-1345179578 related to https://github.com/meilisearch/meilisearch/issues/3228