Click or drag to resize

IFulltextQueryOptionsTDocumentIndexWeight Method

Sets a weight for the index with the given name.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
IFulltextQueryOptions<TDocument> IndexWeight(
	string indexName,
	int weight
)

Parameters

indexName
Type: SystemString
The name of the index for which the weight should be set.
weight
Type: SystemInt32
The weight to set for the index.

Return Value

Type: IFulltextQueryOptionsTDocument
The current instance.
See Also