mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Make the Typo and Words work with synonyms
This commit is contained in:
parent
f87c67fcad
commit
4e91b31b1f
3 changed files with 76 additions and 80 deletions
|
@ -188,7 +188,7 @@ fn replacement(
|
|||
|
||||
let n = real - range.start;
|
||||
let start = origins[origin];
|
||||
let end = origins[new_origin + 1];
|
||||
let end = origins.get(new_origin + 1)?;
|
||||
let remaining = (end - start) - n;
|
||||
|
||||
Some(Range {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue