mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 21:20:24 +01:00
Update milli/src/search/query_tree.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
36715f571c
commit
f4cab080a6
@ -67,7 +67,7 @@ impl Operation {
|
||||
|
||||
fn phrase(mut words: Vec<String>) -> Self {
|
||||
if words.len() == 1 {
|
||||
Self::Query(Query {prefix: false, kind: QueryKind::exact(words.pop().unwrap())})
|
||||
Self::Query(Query { prefix: false, kind: QueryKind::exact(words.pop().unwrap()) })
|
||||
} else {
|
||||
Self::Phrase(words)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user