Search mode
Required Permission: Settings management (Read more about Permissions)
Table of Contents
Search mode setting is used to configure how searching at search page works.
Configuration
Main menu (top right) - Page 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.
Main menu (top right) - Page 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.
Main menu (top right) - Page 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 in JSON format. Example:
{
"searchMode": "instant",
"throttleDelay": 400,
"minLength": 0
}
Explanation of JSON properties:
Property |
Values |
Default |
Description |
Usage |
searchMode MANDATORY |
"instant", "manual" |
"instant" |
Defines when is search executed.
|
Search box on Search page |
throttleDelay |
Zero or positive integer |
1000 |
ThrottleDelay value is used to set the minimal time (in milliseconds) between two search request. |
Search box on Search page |
minLength |
Zero or positive integer |
0 |
Minimal length of string in search filed to start searching. |
Search box on Search page |