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#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public ArrayList GetSearchQuerySuggestions(
	string segment,
	int numberOfSuggestionQueriesToFind
)
public ArrayList GetSearchQuerySuggestions(
	string segment,
	int numberOfSuggestionQueriesToFind
)
Public Function GetSearchQuerySuggestions ( 
	segment As String,
	numberOfSuggestionQueriesToFind As Integer
) As ArrayList
Public Function GetSearchQuerySuggestions ( 
	segment As String,
	numberOfSuggestionQueriesToFind As Integer
) As ArrayList
public:
ArrayList^ GetSearchQuerySuggestions(
	String^ segment, 
	int numberOfSuggestionQueriesToFind
)
public:
ArrayList^ GetSearchQuerySuggestions(
	String^ segment, 
	int numberOfSuggestionQueriesToFind
)
member GetSearchQuerySuggestions : 
        segment : string * 
        numberOfSuggestionQueriesToFind : int -> ArrayList 
member GetSearchQuerySuggestions : 
        segment : string * 
        numberOfSuggestionQueriesToFind : int -> 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: 2015.6.15.120