setMinimumDocumentCount()
setMinimumDocumentCount(integer $count) : $this
Set the minimum number of documents in which a term must appear in order to be returned in a bucket.
Parameters
integer | $count |
Class SignificantTerms.
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 |