Keyoti SearchUnit API Docs
GetSearchQuerySuggestions Method (segment, numberOfSuggestionQueriesToFind)
API DocumentationKeyoti.SearchEngine.SearchSearchAgentGetSearchQuerySuggestions(String, Int32)
Keyoti SearchUnit v6
Returns a list of words that may be suggestions for segment using the search lexicon only.
Declaration Syntax
C#Visual Basic
public ArrayList GetSearchQuerySuggestions(
	string segment,
	int numberOfSuggestionQueriesToFind
)
Public Function GetSearchQuerySuggestions ( 
	segment As String,
	numberOfSuggestionQueriesToFind As Integer
) As ArrayList
Parameters
segment (String)
The start of a word.
numberOfSuggestionQueriesToFind (Int32)
The maximum number of query suggestion strings to find.
Return Value
ArrayList
List of words in the search lexicon that start with segment

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610