SuggestionOptions Class |
Namespace: SphinxConnector.FluentApi
The SuggestionOptions type exposes the following members.
Name | Description | |
---|---|---|
SuggestionOptions |
Initializes a new instance of the SuggestionOptions class.
|
Name | Description | |
---|---|---|
DeltaLength |
The maximum difference in length between the original input and a suggestion. Default is 3.
| |
Limit |
The maximum number of suggestion to return. Default is 5.
| |
MaxLevenshteinDistance |
The maximum Levenshtein distance between the original input and a suggestion. Default is 4.
| |
RejectQueueLength |
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.
| |
ReturnStatistics |
Whether to return statistics for a suggestions. Default is true.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |