Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Elastica
Aggregation
Terms
PHP Class Elastica\Aggregation\Terms
See link:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html
Inheritance:
extends
AbstractTermsAggregation
ファイルを表示
Open project: ruflin/elastica
Class Usage Examples
Public Methods
Method
Description
setOrder
(
string
$order
,
string
$direction
)
Set the bucket sort order.
Method Details
setOrder()
public
method
Set the bucket sort order.
public
setOrder
(
string
$order
,
string
$direction
)
$order
string
"_count", "_term", or the name of a sub-aggregation or sub-aggregation response field
$direction
string
"asc" or "desc"