Name | Type | Default value | Description |
---|---|---|---|
name | string | The mandatory suggest dispatcher name. Must match [A-z0-9_]+ | |
matchWholeQuery | boolean | Sends the whole query to the default suggest if the cursor is outside a prefix handler. If unselected, it sends a subquery delimited by surrounding prefixes. | |
useWithUnknownPrefix | boolean | Sends the query to the default suggest if the cursor is within an undefined prefix handler. If unselected, undefined prefix handlers are ignored and there will be no suggestions. | |
addQuotes | boolean | True | Adds quotes where necessary so that the whole suggestion is included in the prefix handler. |
displayPrefixInSuggest | boolean | When activated, the suggest is prefixed by the corresponding prefix handler if defined. | |
maxNbResults | int | Max number of suggest entries returned by this suggest dispatcher (0 returns all available entries). | |
boostVariety | boolean | Allows to retrieve the best matches for each suggest according to the maximum number of suggestions. Note that this mode does not always return the best global results. |
Name | Type | Description |
---|---|---|
designedForLogics | exa.bee.StringValue* | SearchLogic names. Prefix handler names will be checked against these logics |
PrefixHandlerSuggestPair | com.exalead.mercury.mami.search.v20.PrefixHandlerSuggestPair* | Association of a prefix handler and a suggest |