NAMED_TYPE
NAMED_TYPE
Class Filters.
This function can be used to handle params for queries, filter
addAggregation(\Elastica\Aggregation\AbstractAggregation $aggregation) : $this
Add a sub-aggregation.
| \Elastica\Aggregation\AbstractAggregation | $aggregation |
addFilter(\Elastica\Query\AbstractQuery $filter, string $name = null) : $this
Add a filter.
If a name is given, it will be added as a key, otherwise considered as an anonymous filter
| \Elastica\Query\AbstractQuery | $filter | |
| string | $name |