Search mode

Permission: Settings management

Search mode setting is used to configure how searching at search page works.

Configuration

  1. Left menu - settings

  2. In panel "Settings list" use icon "Update" for setting "SEARCH_MODE".

  3. 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.

  1. Left menu - settings

  2. In panel "Settings list" use icon "Update" for setting "SEARCH_MODE".

  3. 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.

  1. Left menu - settings

  2. In panel "Settings list" use icon "Update" for setting "SEARCH_MODE".

  3. 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