 | IFulltextSessionGetSuggestionsTDocument Method (String) |
Gets a suggestion for the given word or query. In case of a single word Sphinx' SUGGEST() function is used, in case
of a query (multiple words), QSUGGEST() is used.
Namespace:
SphinxConnector.FluentApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
SyntaxIList<Suggestion> GetSuggestions<TDocument>(
string wordOrQuery
)
Function GetSuggestions(Of TDocument) (
wordOrQuery As String
) As IList(Of Suggestion)
Parameters
- wordOrQuery
- Type: SystemString
The word or query to get suggestions for.
Type Parameters
- TDocument
- The document type to get suggestions for.
Return Value
Type:
IListSuggestionA list of suggestions.
See Also