mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-19 01:18:31 +08:00
formatting
This commit is contained in:
parent
6cb8b46900
commit
ff8b2d4422
@ -510,7 +510,8 @@ fn create_query_tree(
|
|||||||
.filter(|(_, part)| !part.is_phrase())
|
.filter(|(_, part)| !part.is_phrase())
|
||||||
.max_by_key(|(_, part)| match part {
|
.max_by_key(|(_, part)| match part {
|
||||||
PrimitiveQueryPart::Word(s, _) => {
|
PrimitiveQueryPart::Word(s, _) => {
|
||||||
let (pair_freq, _, _) = split_best_frequency(ctx, s).unwrap_or_default().unwrap_or_default();
|
let (pair_freq, _, _) =
|
||||||
|
split_best_frequency(ctx, s).unwrap_or_default().unwrap_or_default();
|
||||||
pair_freq
|
pair_freq
|
||||||
}
|
}
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
|
Loading…
Reference in New Issue
Block a user