PHP Класс Elastica\Aggregation\AbstractTermsAggregation

Наследование: extends AbstractSimpleAggregation
Показать файл Открыть проект

Открытые методы

Метод Описание
setExclude ( string $pattern, string $flags = null ) Filter documents to exclude based on a regular expression.
setExecutionHint ( string $hint ) Instruct Elasticsearch to use direct field data or ordinals of the field values to execute this aggregation.
setInclude ( string $pattern, string $flags = null ) Filter documents to include based on a regular expression.
setMinimumDocumentCount ( integer $count ) Set the minimum number of documents in which a term must appear in order to be returned in a bucket.
setShardSize ( integer $shard_size ) Sets how many terms the coordinating node will request from each shard.
setSize ( integer $size ) Sets the amount of terms to be returned.

Описание методов

setExclude() публичный Метод

Filter documents to exclude based on a regular expression.
public setExclude ( string $pattern, string $flags = null )
$pattern string a regular expression
$flags string Java Pattern flags

setExecutionHint() публичный Метод

The execution hint will be ignored if it is not applicable.
public setExecutionHint ( string $hint )
$hint string map or ordinals

setInclude() публичный Метод

Filter documents to include based on a regular expression.
public setInclude ( string $pattern, string $flags = null )
$pattern string a regular expression
$flags string Java Pattern flags

setMinimumDocumentCount() публичный Метод

Set the minimum number of documents in which a term must appear in order to be returned in a bucket.
public setMinimumDocumentCount ( integer $count )
$count integer

setShardSize() публичный Метод

Sets how many terms the coordinating node will request from each shard.
public setShardSize ( integer $shard_size )
$shard_size integer The amount of terms to be returned.

setSize() публичный Метод

Sets the amount of terms to be returned.
public setSize ( integer $size )
$size integer The amount of terms to be returned.