ElasticSort
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ElasticSort.type
Members list
Value members
Concrete methods
Constructs a type-safe instance of zio.elasticsearch.query.sort.SortByField using the specified parameters.
Constructs a type-safe instance of zio.elasticsearch.query.sort.SortByField using the specified parameters.
Type parameters
- S
-
document by which field sort is performed
Value parameters
- field
-
the type-safe field to sort by
Attributes
- Returns
-
an instance of zio.elasticsearch.query.sort.SortByField that represents sort by field operation to be performed.
Constructs an instance of zio.elasticsearch.query.sort.SortByField using the specified parameters.
Constructs an instance of zio.elasticsearch.query.sort.SortByField using the specified parameters.
Value parameters
- field
-
the field to sort by
Attributes
- Returns
-
an instance of zio.elasticsearch.query.sort.SortByField that represents sort by field operation to be performed.
Constructs an instance of zio.elasticsearch.query.sort.SortByScript using the specified parameters.
Constructs an instance of zio.elasticsearch.query.sort.SortByScript using the specified parameters.
Value parameters
- script
-
a script containing sort logic
- sourceType
-
type of script source
- zio.elasticsearch.query.sort.SourceType.NumberType: Used for numbers scripts.
- zio.elasticsearch.query.sort.SourceType.StringType: Used for text scripts.
Attributes
- Returns
-
an instance of zio.elasticsearch.query.sort.SortByScript that represents sort by script operation to be performed.