application-es.yml
Configuration file containing Elasticsearch connection parameters used by the INDEX, SEARCH, CONTROLLER and TEXTEXTRACTOR services.
Characteristics
Profile Name | application-es.yml |
---|---|
Referenced by Services | index,search,controller,textextractor |
Storage Location | Git root directory |
Parameters
As of product version 2023 Autumn, the following parameters can be configured:
Parameter | Description | Default Value | |
---|---|---|---|
storage.searchdatabases | Configurations of Elasticsearch instances. The ID of each instance is defined via the key (e.g., Note If you apply changes to the configuration of a running system, ensure that existing tenants are directed to their previous search database. For each Elasticsearch instance, the following parameters have to be specified. | ||
datasource | Reference on a configuration in storage.searchdatabases . | ||
predicate | SPEL statement specifying the condition under which the search database should be used. As of version 2023 Autumn, the condition can only reference the system:tenant property of DMS objects. | ||
default | Boolean value that specifies whether the search database should be used as default search database (true ) or not (false ).Note: Exactly one search database has to be the default search database. | ||
storage.searchdatasources | List of search database (Elasticsearch index) configurations with the following parameters: | ||
urls | Required. Comma-separated list of one or more URLs to the corresponding Elasticsearch instance(s). | - | |
user | Optional. Username to access the Elasticsearch instance(s). | - | |
password | Optional. Password to access the Elasticsearch instance(s). | - | |
index | Optional. Name of the Elasticsearch index. If no index with the specified name is available, a new index is created. | 'putitinthere' | |
languages | Optional. Only applicable during the creation of a new Elasticsearch index: Languages to be configured in the Elasticsearch analyzer configuration specified via ISO codes. >> Elasticsearch in yuuvis® Momentum | 'de;en' | |
timeout | Optional. | 30000 |
Example configuration:
storage: searchdatabases: database1: datasource: dbsource1 predicate: 'spel:false' default: true database2: datasource: dbsource2 predicate: "spel:properties['system:tenant']['value']=='yuuvistest'" default: false searchdatasources: dbsource1: urls: '<host1>:<portA>','<host2>:<portB>' dbsource2: urls: '<host3>:<portC>' user: 'exampleuser' password: 'examplepassword' index: 'exampleindex' languages: 'de;en' timeout: 30000
Up to product version 2023 Summer, the following parameters are available:
Parameter | Description | Read by Service | Default Value | |
---|---|---|---|---|
index | Section of configuration parameters for the Elasticsearch index to be used by yuuvis® Momentum. | |||
indexname | Name of the Elasticsearch index. If no index with the specified name is available, a new index is created. | INDEX, SEARCH | putitinthere | |
languages | Only applicable during the creation of a new Elasticsearch index: Languages to be configured in the Elasticsearch analyzer configuration specified via ISO codes. >> Elasticsearch in yuuvis® Momentum | INDEX | 'de;en' |
The values for the parameters can be modified as described here.
>> Configuring Services using Profiles.