mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-25 14:10:06 +01:00
Fix an indexing bug in the words level positions
This commit is contained in:
parent
7aa5753ed2
commit
0ad9499b93
@ -121,7 +121,7 @@ fn compute_positions_levels(
|
|||||||
|
|
||||||
let level_0_range = {
|
let level_0_range = {
|
||||||
let left = (word, TreeLevel::min_value(), u32::min_value(), u32::min_value());
|
let left = (word, TreeLevel::min_value(), u32::min_value(), u32::min_value());
|
||||||
let right = (word, TreeLevel::max_value(), u32::max_value(), u32::max_value());
|
let right = (word, TreeLevel::min_value(), u32::max_value(), u32::max_value());
|
||||||
left..=right
|
left..=right
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user