$_name
$_name : string
Class SignificantTerms.
This function can be used to handle params for queries, filter
setScript(string|\Elastica\Script\AbstractScript $script) : $this
Set a script for this aggregation.
string|\Elastica\Script\AbstractScript | $script |
addAggregation(\Elastica\Aggregation\AbstractAggregation $aggregation) : $this
Add a sub-aggregation.
\Elastica\Aggregation\AbstractAggregation | $aggregation |
setBackgroundFilter(\Elastica\Query\AbstractQuery $filter) : $this
The default source of statistical information for background term frequencies is the entire index and this scope can be narrowed through the use of a background_filter to focus in on significant terms within a narrower context.
\Elastica\Query\AbstractQuery | $filter |