| 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.NativeApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntax public 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