Click or drag to resize

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.3.0
Syntax
public bool AllowEmpty { get; set; }

Property Value

Type: Boolean
true to allow an empty string to be returned as highlighting result; otherwise, false.
See Also