 | SphinxSearchOptionsSetFieldWeight Method |
Sets a weight for the field with the given name. If a weight for the field has previously
been set, it will be overwritten.
Namespace: SphinxConnector.NativeApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntaxpublic void SetFieldWeight(
string fieldName,
int weight
)
Public Sub SetFieldWeight (
fieldName As String,
weight As Integer
)
Parameters
- fieldName
- Type: SystemString
Name of the field. - weight
- Type: SystemInt32
The weight to assign to the field.
See Also