Click or drag to resize

IFulltextQueryTDocumentThenByDescendingTKey Method

Sort the results of this query by the given key in descending order.

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntax
IFulltextQuery<TDocument> ThenByDescending<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
ExceptionCondition
ArgumentNullExceptionOccurs when keySelector is null.
ArgumentNullExceptionOccurs when keySelector is null.
Remarks
This method is semantically equivalent to OrderByDescendingTKey(ExpressionFuncTDocument, TKey)
See Also