Click or drag to resize

IFulltextQueryOptionsTDocumentRanker Method (SphinxRankMode, String)

Sets the ranker to use for this query.

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

Parameters

rankMode
Type: SphinxConnector.CommonSphinxRankMode
The rank mode to use for this query.
expression
Type: SystemString
The expression to use in conjunction with Expression.

Return Value

Type: IFulltextQueryOptionsTDocument
The current instance.
Exceptions
See Also