XML Configuration Reference : Search : SuggestCommand
 
SuggestCommand
com.exalead.mercury.mami.search.v20.SuggestCommand
Search API command
Parent elements:
com.exalead.mercury.mami.search.v20.SearchAPIConfig (as SearchAPIConfig)
Attributes:
Name
Type
Default value
Description
base
string
/search-api
HTTP path for this command
targetReporting
string
tokenizationConfig
string
Tokenization config name used to parse the query.
autocomplete
boolean
Appends suggest results to the last query word being typed in the search field to autocomplete it. It only works with a suggest built with the Subexpr matching or Substring matching build options.
recursive
boolean
Discards the leftmost word of the query progressively. It sends each new subquery to the suggest(s) until the max number of suggestions is reached, or until there is no more word to use. For example, for a query "A B C", the suggest will be called 3 times, with "A B C", "B C", and "C".