Click or drag to resize
IFulltextQueryOptionsTDocumentRanker Method
Sets the ranker to use for this query.

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax
IFulltextQueryOptions<TDocument> Ranker(
	SphinxRankMode rankMode,
	string expression = null
)

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: IFulltextQueryOptionsTDocument
The current instance.
Exceptions
See Also