Add and Configure a Suggest Dispatcher
- Click Add suggest dispatcher, enter a name, and click Accept.
-
Specify the options to apply:
Option
Description
Match whole query
Sends the whole query to the default suggest if the cursor is outside a prefix handler.
For example, if the query is:
author: "George Lucas" Star Wars
If the cursor is after the last quote, you are outside the
author:
prefix handler scope, and:- If the option is selected, the suggest is made on the whole query,
author: "George Lucas" Star Wars
- If cleared, the suggest is applied to
Star Wars
only.author: "George Lucas"
is not considered.
Use default suggest for non configured prefix
Sends the query to the default suggest if the cursor is within an undefined prefix handler.
If cleared, undefined prefix handlers are ignored and there is no suggestions.
Add quotes to suggestions
Adds quotes where required so that the whole suggestion is included in the prefix handler.
Add prefix handler to suggestions
Adds prefix handlers automatically when you enter a query
Check with search logics
Selecting specific search logics allows prefix handler suggestion and configuration check while configuring prefix handler/suggest pairs below.
Max. suggestions
Allows you to define a maximum number of suggestions to be displayed (default is 0, meaning no limit).
Note: You can also define a maximum number of suggestions to be displayed for each prefix handler. See below.Boost variety
Allows to retrieve the best matches for each suggest according to the maximum number of suggestions defined previously.
Note: This mode does not return the best global results but the best results for each suggest.Example: a suggest dispatcher is configured to display 10 suggestions maximum, for 3 suggest dictionaries.
Without Boost variety, you get:
- Suggest 1: 3 results
- Suggest 2: 10 results
- Suggest 3: 8 results
With Boost variety, you get:
- Suggest 1: 3 results
- Suggest 2: 4 results
- Suggest 3: 3 results
Prefix handler | Suggest
Maps a prefix handler to a suggest dictionary. You can map as many pairs as required.
Select Default to specify the suggest dictionary to use by default for a specific prefix handler.
Note: You must specify at least one default suggest, using the following options:- Match whole query
- Use default suggest for non configured prefix
- Add prefix handler to suggestion
If required, define a maximum number of suggestions to be displayed for each prefix handler in the Max. suggestions field.
- If the option is selected, the suggest is made on the whole query,
-
Click save and apply your configuration.
Note: You do not need to rebuild the suggest dictionaries for suggest dispatchers.