...
|
...
|
@@ -321,11 +321,9 @@ class MailListV2Es extends Base { |
|
|
if($query && $afids){
|
|
|
return [
|
|
|
'bool' => [
|
|
|
'must' => [
|
|
|
$query
|
|
|
],
|
|
|
'should' =>[
|
|
|
['terms'=>['folder_id'=>$afids]]
|
|
|
["bool" =>['must' => [$query]]],
|
|
|
["bool" =>['must' => [['terms'=>['folder_id'=>$afids]]]]]
|
|
|
]
|
|
|
]
|
|
|
];
|
...
|
...
|
|