mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
fix indexed document length bug
This commit is contained in:
parent
0953d99198
commit
3423c0b246
2 changed files with 38 additions and 1 deletions
|
@ -124,7 +124,7 @@ fn index_token<A>(
|
|||
) -> bool
|
||||
where A: AsRef<[u8]>,
|
||||
{
|
||||
if token.word_index >= word_limit {
|
||||
if token.index >= word_limit {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue