Search mode
Permission: Settings management
Search mode setting is used to configure how searching at search page works.
Configuration
-
Left menu - settings
-
In panel "Settings list" use icon "Update" for setting "SEARCH_MODE".
-
Enter JSON configuration and confirm by pressing "Save" button.
Default configuration
Default configuration contains several default attributes to see how configuration should looks like. Probably this configuration doesn't match model of your data but can serve as example of short configuration.
-
Left menu - settings
-
In panel "Settings list" use icon "Update" for setting "SEARCH_MODE".
-
Press button "Default" and store by pressing button "Save".
Automatic configuration
Automatic configuration generates JSON configuration which is the same as default configuration.
This automatically generated configuration can be used as good starting point to create own configuration.
-
Left menu - settings
-
In panel "Settings list" use icon "Update" for setting "SEARCH_MODE".
-
Press button "Automatic", wait for generator to generate JSON and store by pressing button "Save".
Description of configuration
Configuration is entered as JSON. Example of JSON:
{
"searchMode": "instant",
"throttleDelay": 400,
"minLength": 0
}
Explanation of attributes:
-
searchMode - how search is executed. mandatory . Possible values:
-
instant - search is executed automatically without pressing "Enter" keyboard button. Search is executed after pressing any keyboard button if focus is in search field.
-
manual - search is executed after pressing "Enter" keyboard button if focus is in search field
-
-
throttleDelay - if seachMode is instant this is used to set how many milliseconds search is executed after pressing any keyboard button if focus is in search field. mandatory
-
minLength - minimal length of string in search filed to start searching. mandatory