mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 04:36:32 +00:00
Enable new algorithm every time
This commit is contained in:
@ -427,8 +427,6 @@ impl<'a> Filter<'a> {
|
|||||||
|
|
||||||
let value = crate::normalize_facet(word.value());
|
let value = crate::normalize_facet(word.value());
|
||||||
|
|
||||||
if value.len() <= 6 {
|
|
||||||
// 6 is abitrary, but it works well in practice
|
|
||||||
let mut value2 = value.as_bytes().to_owned();
|
let mut value2 = value.as_bytes().to_owned();
|
||||||
if let Some(last) = value2.last_mut() {
|
if let Some(last) = value2.last_mut() {
|
||||||
if *last != 255 {
|
if *last != 255 {
|
||||||
@ -452,7 +450,6 @@ impl<'a> Filter<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
let base = FacetGroupKey { field_id, level: 0, left_bound: value.as_str() };
|
let base = FacetGroupKey { field_id, level: 0, left_bound: value.as_str() };
|
||||||
let docids = strings_db
|
let docids = strings_db
|
||||||
|
Reference in New Issue
Block a user