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: 6.0.0
Syntax
IFulltextQueryOptions<TDocument> Set(
	string optionName,
	string value
)

Parameters

optionName  String
The name of the option to set.
value  String
The value to set the option to.

Return Value

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