Class SortOptionsBuilders
java.lang.Object
co.elastic.clients.elasticsearch._types.SortOptionsBuilders
Builders for
SortOptions variants.-
Method Summary
Modifier and TypeMethodDescriptionstatic ScoreSort.Builderdoc()Creates a builder for the_docSortOptionsvariant.static SortOptionsCreates a SortOptions of the_docSortOptionsvariant.static FieldSort.Builderfield()Creates a builder for thefieldSortOptionsvariant.static SortOptionsCreates a SortOptions of thefieldSortOptionsvariant.static GeoDistanceSort.BuilderCreates a builder for the_geo_distanceSortOptionsvariant.static SortOptionsCreates a SortOptions of the_geo_distanceSortOptionsvariant.static ScoreSort.Builderscore()Creates a builder for the_scoreSortOptionsvariant.static SortOptionsCreates a SortOptions of the_scoreSortOptionsvariant.static ScriptSort.Builderscript()Creates a builder for the_scriptSortOptionsvariant.static SortOptionsCreates a SortOptions of the_scriptSortOptionsvariant.
-
Method Details
-
score
Creates a builder for the_scoreSortOptionsvariant. -
score
Creates a SortOptions of the_scoreSortOptionsvariant. -
doc
Creates a builder for the_docSortOptionsvariant. -
doc
Creates a SortOptions of the_docSortOptionsvariant. -
geoDistance
Creates a builder for the_geo_distanceSortOptionsvariant. -
geoDistance
public static SortOptions geoDistance(Function<GeoDistanceSort.Builder, ObjectBuilder<GeoDistanceSort>> fn) Creates a SortOptions of the_geo_distanceSortOptionsvariant. -
script
Creates a builder for the_scriptSortOptionsvariant. -
script
Creates a SortOptions of the_scriptSortOptionsvariant. -
field
Creates a builder for thefieldSortOptionsvariant. -
field
Creates a SortOptions of thefieldSortOptionsvariant.
-