Package | Description |
---|---|
org.elasticsearch.search.sort |
Modifier and Type | Method and Description |
---|---|
static FieldSortBuilder |
SortBuilders.fieldSort(String field)
Constructs a new field based sort.
|
FieldSortBuilder |
FieldSortBuilder.ignoreUnmapped(boolean ignoreUnmapped)
Deprecated.
Use
unmappedType(String) instead. |
FieldSortBuilder |
FieldSortBuilder.missing(Object missing)
Sets the value when a field is missing in a doc.
|
FieldSortBuilder |
FieldSortBuilder.order(SortOrder order)
The order of sorting.
|
FieldSortBuilder |
FieldSortBuilder.setNestedFilter(FilterBuilder nestedFilter)
Sets the nested filter that the nested objects should match with in order to be taken into account
for sorting.
|
FieldSortBuilder |
FieldSortBuilder.setNestedPath(String nestedPath)
Sets the nested path if sorting occurs on a field that is inside a nested object.
|
FieldSortBuilder |
FieldSortBuilder.sortMode(String sortMode)
Defines what values to pick in the case a document contains multiple values for the targeted sort field.
|
FieldSortBuilder |
FieldSortBuilder.unmappedType(String type)
Set the type to use in case the current field is not mapped in an index.
|
Copyright © 2009–2015. All rights reserved.