<private> new FieldSort()
Members
-
<private> toJSON
-
Serializes this query to JSON for network dispatch.
Methods
-
descending(descending) → {SearchSort.FieldSort}
-
Specifies whether to sort descending or not
Parameters:
Name Type Description descending
boolean Returns:
- Type
- SearchSort.FieldSort
-
missing(missing) → {SearchSort.FieldSort}
-
Specifies the missing behaviour for the field sort.
Parameters:
Name Type Description missing
string Returns:
- Type
- SearchSort.FieldSort
-
mode(mode) → {SearchSort.FieldSort}
-
Specifies the mode for the field sort.
Parameters:
Name Type Description mode
string Returns:
- Type
- SearchSort.FieldSort
-
type(descending) → {SearchSort.FieldSort}
-
Specifies the type for the field sort.
Parameters:
Name Type Description descending
string Returns:
- Type
- SearchSort.FieldSort