Skip to main content
Version: 2.82.x.x LTS

Configuration of the query service and quick search

The table lists all parameters in the nevisidm-prod.properties configuration file that control the query service / quick search:

Parameter nameType / DefaultDescription
application.
queryservice.
cronjob.enabled
boolean default: falseEnables/disables a cron job which periodically updates the indexes for the Apache Lucene search backend. Configure this parameter only in a clustered setup where multiple nevisIDM instances are used with a shared database. For the Elasticsearch backend, this setting need to be left as false.
application.
queryservice.
cronjob.interval
long default: 300000Configures the interval (in milliseconds) between two runs of the cron job, which updates the indexes. Configure only if the cron job is enabled.
application.
queryservice.
enabled
boolean default: falseEnables/disables the query service. The query service is disabled per default.
application.
queryservice.
index.dir
string default: "/tmp/lucene/indexes"The location where the indexes, generated by the Apache Lucene engine, will be stored. Per default, the indexes will be stored in the "/tmp/lucene/indexes" folder.
application.
queryservice.
forcedreindex.
enabled
boolean Default: trueDetermines whether the indexes are recreated on startup. If is is true, the indexes will be recreated, even if they already exist. We recommend setting this parameter to "true" to avoid data inconsistencies.
application.
queryservice.
index.length.min
int default: 3The length of the shortest indexed fragment. Note that this is the same as the shortest possible search.
web.gui.
quicksearch.
fields
string default: ""Defines a comma-separated list of field names. The list must only include field names of entities that support the quick search. If set, the quick search feature only performs searches on these fields. If you do not specify this parameter, the system queries all fields of the entities supporting the quick search. Invalid field names are silently ignored (that is, no error message will appear).
Note that this parameter is only valid for the quick search feature. The query service (Query Search REST service) is not affected by this setting.