Click or drag to resize

SuggestionOptions Class

Represents the options for getting suggestions.
Inheritance Hierarchy
SystemObject
  SphinxConnector.FluentApiSuggestionOptions

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
[SerializableAttribute]
public class SuggestionOptions

The SuggestionOptions type exposes the following members.

Constructors
  NameDescription
Public methodSuggestionOptions
Initializes a new instance of the SuggestionOptions class.
Top
Properties
  NameDescription
Public propertyDeltaLength
The maximum difference in length between the original input and a suggestion. Default is 3.
Public propertyLimit
The maximum number of suggestion to return. Default is 5.
Public propertyMaxLevenshteinDistance
The maximum Levenshtein distance between the original input and a suggestion. Default is 4.
Public propertyRejectQueueLength
Rejected words are matches that are not better than those already in the match queue. They are put in a rejected queue that gets reset in case one actually can go in the match queue. This option defines the size of the rejected queue (as reject*max(max_matched,limit)). If the rejected queue is filled, the engine stops looking for potential matches.
Public propertyReturnStatistics
Whether to return statistics for a suggestions. Default is true.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also