 | IFulltextQueryOptionsTDocumentRanker Method |
Sets the ranker to use for this query.
Namespace: SphinxConnector.FluentApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
SyntaxIFulltextQueryOptions<TDocument> Ranker(
SphinxRankMode rankMode,
string expression = null
)
Function Ranker (
rankMode As SphinxRankMode,
Optional expression As String = Nothing
) As IFulltextQueryOptions(Of TDocument)
Parameters
- rankMode
- Type: SphinxConnector.CommonSphinxRankMode
The rank mode to use for this query. - expression (Optional)
- Type: SystemString
The expression to use in conjunction with Expression.
Return Value
Type:
IFulltextQueryOptionsTDocumentThe current instance.
Exceptions
See Also