IFulltext Query OptionsTDocumentRanker(Sphinx Rank Mode, String) Method
Sets the ranker to use for this query.
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> Ranker(
SphinxRankMode rankMode,
string expression
)VB
Function Ranker (
rankMode As SphinxRankMode,
expression As String
) As IFulltextQueryOptions(Of TDocument)Parameters
- rankMode SphinxRankMode
- The rank mode to use for this query.
- expression String
- The expression to use in conjunction with Expression.
Return Value
IFulltextQueryOptionsTDocumentThe current instance.