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 JSON properties:

Property

Values

Default

Description

Usage

searchMode

MANDATORY

"instant", "manual"

"manual"

Defines when is search executed.

  • "instant" - search is executed automatically without pressing "Enter" keyboard button. Search is executed after pressing any keyboard button if focus is on search field

  • "manual" - search is executed after pressing "Enter" keyboard button if focus is in search field

Search box on Search page and ACL 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 and ACL page

minLength

Zero or positive integer

3

Minimal length of string in search filed to start searching.

Search box on Search page and ACL page