 | SnippetsOptionsAllowEmpty Property |
Gets or sets a value indicating whether to allow an empty string to be returned as highlighting
result when a snippet could not be generated (no keywords match, or no passages fit the limit).
By default, the beginning of original text would be returned instead of an empty string.
Default is false. Supported in Sphinx 1.10.1 and above.
Namespace:
SphinxConnector.FluentApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic bool AllowEmpty { get; set; }
Public Property AllowEmpty As Boolean
Get
Set
Property Value
Type:
Booleantrue to allow an empty string to be returned as highlighting result; otherwise,
false.
See Also