Table of Contents

Interface IOrdering

Namespace
Examine.Search
Assembly
Examine.Core.dll

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

IOrdering

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

IOrdering

SelectAllFields()

Return all fields in the index

IOrdering SelectAllFields()

Returns

IOrdering

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 string

The field name of the field to load

Returns

IOrdering

SelectFields(ISet<string>)

Return only the specified fields

IOrdering SelectFields(ISet<string> fieldNames)

Parameters

fieldNames ISet<string>

The field names for fields to load

Returns

IOrdering