IFulltextQueryTDocumentWithinGroupOrderByDescendingTKey Method

Sort the documents within a group by the given key in descending order.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
IFulltextQuery<TDocument> WithinGroupOrderByDescending<TKey>(
	Expression<Func<TDocument, TKey>> keySelector
)

Parameters

keySelector  ExpressionFuncTDocument, TKey
A function to extract the key from a document.

Type Parameters

TKey
The type of the key returned by the function that is represented by keySelector.

Return Value

IFulltextQueryTDocument
The current instance.

Exceptions

ArgumentNullExceptionOccurs when keySelector is null.

See Also