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