OrderByField Data Type

Tracks a single order by property for sorting results of a hibernate search

Properties
name data type description
fieldName string The property name to order the result set by.
asc boolean Whether or not to order this field in ascending or descending order.
complex boolean Flag indicating that this ordering is using a complex statement instead of a basic property name.

Example

{
  "fieldName" : "...",
  "asc" : true,
  "complex" : true
}