$_must
$_must : array
Must.
Bool Filter.
This class is for backward compatibility reason for all php < 7 versions. For PHP 7 and above use BoolFilter as Bool is reserved.
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 |