Interface IOrdering
Represents a ordering operation
public interface IOrdering : IQueryExecutor
- Inherited Members
- Extension Methods
Methods
OrderBy(params SortableField[])
Orders the results by the specified fields
IOrdering OrderBy(params SortableField[] fields)
Parameters
fields
SortableField[]The field names.
Returns
OrderByDescending(params SortableField[])
Orders the results by the specified fields in a descending order
IOrdering OrderByDescending(params SortableField[] fields)
Parameters
fields
SortableField[]The field names.
Returns
SelectAllFields()
Return all fields in the index
IOrdering SelectAllFields()
Returns
SelectField(string)
Return only the specified field. Use SelectFields(ISet<string>) when possible as internally a new HashSet is created on each call
IOrdering SelectField(string fieldName)
Parameters
fieldName
stringThe field name of the field to load
Returns
SelectFields(ISet<string>)
Return only the specified fields
IOrdering SelectFields(ISet<string> fieldNames)