IFulltext Query OptionsTDocumentSort Method Method
Sets the sort method for the query. Supported with Sphinx 2.1.1 and up.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The current instance.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
IFulltextQueryOptions<TDocument> SortMethod(
SortMethod sortMethod
)VB
Function SortMethod (
sortMethod As SortMethod
) As IFulltextQueryOptions(Of TDocument)Parameters
- sortMethod SortMethod
- The sort method to set.
Return Value
IFulltextQueryOptionsTDocumentThe current instance.