Uses of Class
org.elasticsearch.search.sort.SortMode
-
Packages that use SortMode Package Description org.elasticsearch.search.sort -
-
Uses of SortMode in org.elasticsearch.search.sort
Methods in org.elasticsearch.search.sort that return SortMode Modifier and Type Method Description static SortModeSortMode. fromString(String str)static SortModeSortMode. readFromStream(StreamInput in)SortModeFieldSortBuilder. sortMode()Returns what values to pick in the case a document contains multiple values for the targeted sort field.SortModeGeoDistanceSortBuilder. sortMode()Returns which distance to use for sorting in the case a document contains multiple geo points.SortModeScriptSortBuilder. sortMode()Get the sort mode.static SortModeSortMode. valueOf(String name)Returns the enum constant of this type with the specified name.static SortMode[]SortMode. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.elasticsearch.search.sort with parameters of type SortMode Modifier and Type Method Description FieldSortBuilderFieldSortBuilder. sortMode(SortMode sortMode)Defines what values to pick in the case a document contains multiple values for the targeted sort field.GeoDistanceSortBuilderGeoDistanceSortBuilder. sortMode(SortMode sortMode)Defines which distance to use for sorting in the case a document contains multiple geo points.ScriptSortBuilderScriptSortBuilder. sortMode(SortMode sortMode)Defines which distance to use for sorting in the case a document contains multiple values.
ForScriptSortBuilder.ScriptSortType.STRING, the set of possible values is restricted toMINandMAX
-