mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Reduce porximity range from 7 to 3
This commit is contained in:
parent
86b314626d
commit
43989fe2e4
2 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,7 @@ use std::cmp;
|
|||
|
||||
use crate::{relative_from_absolute_position, Position};
|
||||
|
||||
pub const MAX_DISTANCE: u32 = 8;
|
||||
pub const MAX_DISTANCE: u32 = 4;
|
||||
|
||||
pub fn index_proximity(lhs: u32, rhs: u32) -> u32 {
|
||||
if lhs <= rhs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue