$_params
$_params : array
Params.
Bool Filter.
This function can be used to handle params for queries, filter
addShould(array|\Elastica\Filter\AbstractFilter $args) : $this
Adds should filter.
array|\Elastica\Filter\AbstractFilter | $args | Filter data |
addMust(array|\Elastica\Filter\AbstractFilter $args) : $this
Adds must filter.
array|\Elastica\Filter\AbstractFilter | $args | Filter data |
addMustNot(array|\Elastica\Filter\AbstractFilter $args) : $this
Adds mustNot filter.
array|\Elastica\Filter\AbstractFilter | $args | Filter data |
_addFilter(string $type, array|\Elastica\Filter\AbstractFilter $args) : $this
Adds general filter based on type.
string | $type | Filter type |
array|\Elastica\Filter\AbstractFilter | $args | Filter data |