Merge branch 'private-issue1090_es_default_operator' into develop
This commit is contained in:
commit
1b5dbdce6a
1 changed files with 2 additions and 1 deletions
|
@ -206,7 +206,8 @@ return search result
|
|||
# real search condition
|
||||
condition = {
|
||||
'query_string' => {
|
||||
'query' => query
|
||||
'query' => query,
|
||||
'default_operator' => 'AND',
|
||||
}
|
||||
}
|
||||
data['query']['bool']['must'].push condition
|
||||
|
|
Loading…
Reference in a new issue