IFulltext Query OptionsTDocumentSet 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.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The current instance.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
IFulltextQueryOptions<TDocument> Set(
string optionName,
string value
)VB
Function Set (
optionName As String,
value As String
) As IFulltextQueryOptions(Of TDocument)Parameters
Return Value
IFulltextQueryOptionsTDocumentThe current instance.
Exceptions
| ArgumentException | Occurs when optionName is empty. |
| ArgumentNullException | Occurs when a provided string is null. |