Click or drag to resize

IFulltextQueryOptionsTDocumentSet Method

Sets the option with the given name to the given value. Use this in case a new option has been added to Sphinx, but is not yet supported by the fluent API.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
IFulltextQueryOptions<TDocument> Set(
	string optionName,
	string value
)

Parameters

optionName
Type: SystemString
The name of the option to set.
value
Type: SystemString
The value to set the option to.

Return Value

Type: IFulltextQueryOptionsTDocument
The current instance.
Exceptions
ExceptionCondition
ArgumentExceptionOccurs when optionName is empty.
ArgumentNullExceptionOccurs when a provided string is null.
See Also