 | Suggestion Constructor |
Initializes a new instance of the
Suggestion class.
Namespace: SphinxConnector.FluentApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntaxpublic Suggestion(
string value,
Nullable<int> levenshteinDistance = null,
Nullable<long> documentCount = null
)
Public Sub New (
value As String,
Optional levenshteinDistance As Nullable(Of Integer) = Nothing,
Optional documentCount As Nullable(Of Long) = Nothing
)
Parameters
- value
- Type: SystemString
The suggestion. - levenshteinDistance (Optional)
- Type: SystemNullableInt32
The levenshtein distance between the input word and the suggestion. - documentCount (Optional)
- Type: SystemNullableInt64
The number of documents containing the suggestion.
See Also