Click or drag to resize
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: 3.12.6
Syntax
public void SetFieldWeight(
	string fieldName,
	int weight
)

Parameters

fieldName
Type: SystemString
Name of the field.
weight
Type: SystemInt32
The weight to assign to the field.
See Also