mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Plug new indexer
This commit is contained in:
parent
3aaf1d62f3
commit
1d314328f0
36 changed files with 1920 additions and 1826 deletions
|
@ -2,8 +2,8 @@ use std::cmp;
|
|||
|
||||
use crate::{Attribute, Position};
|
||||
|
||||
const ONE_ATTRIBUTE: u32 = 1000;
|
||||
const MAX_DISTANCE: u32 = 8;
|
||||
pub const ONE_ATTRIBUTE: u32 = 1000;
|
||||
pub const MAX_DISTANCE: u32 = 8;
|
||||
|
||||
pub fn index_proximity(lhs: u32, rhs: u32) -> u32 {
|
||||
if lhs <= rhs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue