Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
ElasticSearcher
Fragments
Traits
SortableTrait
PHP Trait ElasticSearcher\Fragments\Traits\SortableTrait
See also:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html
Afficher le fichier
Open project: madewithlove/elasticsearcher
Méthodes publiques
Méthode
Description
sort
(
array
$fields
)
sortBy
(
string
$fieldName
,
string
|
null
$direction
= null )
Private Methods
Méthode
Description
findField
(
string
$fieldName
,
array
|
null
$fields
)
Method Details
sort()
public
méthode
public
sort
(
array
$fields
)
$fields
array
sortBy()
public
méthode
public
sortBy
(
string
$fieldName
,
string
|
null
$direction
= null )
$fieldName
string
$direction
string
|
null