| Package | Description |
|---|---|
| org.elasticsearch.action.search |
Search action.
|
| org.elasticsearch.index.query.support | |
| org.elasticsearch.search.aggregations.metrics.tophits | |
| org.elasticsearch.search.builder | |
| org.elasticsearch.search.sort |
| Modifier and Type | Method and Description |
|---|---|
SearchRequestBuilder |
SearchRequestBuilder.addSort(String field,
SortOrder order)
Adds a sort against the given field name and the sort ordering.
|
| Modifier and Type | Method and Description |
|---|---|
T |
BaseInnerHitBuilder.addSort(String field,
SortOrder order)
Adds a sort against the given field name and the sort ordering.
|
| Modifier and Type | Method and Description |
|---|---|
TopHitsBuilder |
TopHitsBuilder.addSort(String field,
SortOrder order)
Adds a sort against the given field name and the sort ordering.
|
| Modifier and Type | Method and Description |
|---|---|
SearchSourceBuilder |
SearchSourceBuilder.sort(String name,
SortOrder order)
Adds a sort against the given field name and the sort ordering.
|
| Modifier and Type | Method and Description |
|---|---|
static SortOrder |
SortOrder.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortOrder[] |
SortOrder.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
GeoDistanceSortBuilder |
GeoDistanceSortBuilder.order(SortOrder order)
The order of sorting.
|
FieldSortBuilder |
FieldSortBuilder.order(SortOrder order)
The order of sorting.
|
ScriptSortBuilder |
ScriptSortBuilder.order(SortOrder order)
Sets the sort order.
|
ScoreSortBuilder |
ScoreSortBuilder.order(SortOrder order)
The order of sort scoring.
|
abstract SortBuilder |
SortBuilder.order(SortOrder order)
The order of sorting.
|
Copyright © 2009–2017. All rights reserved.