change the field to on make query #90
This commit is contained in:
parent
01beaf8729
commit
109e857fe3
|
@ -584,7 +584,7 @@ class Elastic_Press {
|
|||
}
|
||||
|
||||
if($search != '') {
|
||||
$formatted_args['query']['bool']['must'][] = ["wildcard"=>["$field.name.raw" => "*$search*"]];
|
||||
$formatted_args['query']['bool']['must'][] = ["wildcard"=>["$field.name.sortable" => "*$search*"]];
|
||||
}
|
||||
} else {
|
||||
$aggs[$id] = [
|
||||
|
|
Loading…
Reference in New Issue