 | IFulltextQueryOptionsTDocumentIndexWeight Method |
Sets a weight for the index with the given name.
Namespace: SphinxConnector.FluentApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
SyntaxIFulltextQueryOptions<TDocument> IndexWeight(
string indexName,
int weight
)
Function IndexWeight (
indexName As String,
weight As Integer
) As IFulltextQueryOptions(Of TDocument)
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:
IFulltextQueryOptionsTDocumentThe current instance.
See Also