PHP Class Elastica\Aggregation\SignificantTerms

Inheritance: extends AbstractTermsAggregation
Mostrar archivo Open project: ruflin/elastica Class Usage Examples

Public Methods

Method Description
setBackgroundFilter ( Elastica\Query\AbstractQuery $filter ) 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.

Method Details

setBackgroundFilter() public method

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.
See also: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html#_custom_background_context
public setBackgroundFilter ( Elastica\Query\AbstractQuery $filter )
$filter Elastica\Query\AbstractQuery