Package | Description |
---|---|
org.elasticsearch.search.sort |
Modifier and Type | Method and Description |
---|---|
ScriptSortBuilder |
ScriptSortBuilder.lang(String lang)
Deprecated.
Use
ScriptSortBuilder(Script, String) instead. |
ScriptSortBuilder |
ScriptSortBuilder.order(SortOrder order)
Sets the sort order.
|
ScriptSortBuilder |
ScriptSortBuilder.param(String name,
Object value)
Deprecated.
Use
ScriptSortBuilder(Script, String) instead. |
static ScriptSortBuilder |
SortBuilders.scriptSort(Script script,
String type)
Constructs a new script based sort.
|
static ScriptSortBuilder |
SortBuilders.scriptSort(String script,
String type)
Deprecated.
Use
SortBuilders.scriptSort(Script, String) instead. |
ScriptSortBuilder |
ScriptSortBuilder.setNestedFilter(QueryBuilder nestedFilter)
Sets the nested filter that the nested objects should match with in order to be taken into account
for sorting.
|
ScriptSortBuilder |
ScriptSortBuilder.setNestedPath(String nestedPath)
Sets the nested path if sorting occurs on a field that is inside a nested object.
|
ScriptSortBuilder |
ScriptSortBuilder.setParams(Map<String,Object> params)
Deprecated.
Use
ScriptSortBuilder(Script, String) instead. |
ScriptSortBuilder |
ScriptSortBuilder.sortMode(String sortMode)
Defines which distance to use for sorting in the case a document contains multiple geo points.
|
Copyright © 2009–2016. All rights reserved.