1 | <?php |
||
22 | class Query extends \yii\elasticsearch\Query |
||
23 | { |
||
24 | /** |
||
25 | * @var array|string|\opus\elastic\elastica\filter\BoolQuery The filter part of this search query. This is an array or json string that follows the format of |
||
26 | * the elasticsearch [Query DSL](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl.html). |
||
27 | */ |
||
28 | public $filter; |
||
29 | |||
30 | /** |
||
31 | * @var array|string|\Elastica\Query\Bool The query part of this search query. This is an array or json string that follows the format of |
||
32 | * the elasticsearch [Query DSL](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl.html). |
||
33 | */ |
||
34 | public $query; |
||
35 | |||
36 | /** |
||
37 | * Creates multi search request to elasticsearch |
||
38 | * |
||
39 | * @param array $requests |
||
40 | * @param null $searchType |
||
41 | * @param array $options |
||
42 | * @throws Exception |
||
43 | * @return mixed |
||
44 | */ |
||
45 | public static function multiSearch( |
||
76 | } |