$_params
$_params : array
Params.
Filtered query. Needs a query and a filter.
This function can be used to handle params for queries, filter
__construct(\Elastica\Query\AbstractQuery $query = null, \Elastica\Query\AbstractQuery $filter = null)
Constructs a filtered query.
\Elastica\Query\AbstractQuery | $query | OPTIONAL Query object |
\Elastica\Query\AbstractQuery | $filter | OPTIONAL Filter object |
setQuery(\Elastica\Query\AbstractQuery $query = null) : $this
Sets a query.
\Elastica\Query\AbstractQuery | $query | Query object |
setFilter(\Elastica\Query\AbstractQuery $filter = null) : $this
Sets the filter.
\Elastica\Query\AbstractQuery | $filter | Filter object |
getFilter() : \Elastica\Query\AbstractQuery|\Elastica\Filter\AbstractFilter
Gets the filter.
getQuery() : \Elastica\Query\AbstractQuery
Gets the query.