Configuration properties for the Federated Data Repository
The
ibmPfs_remoteElasticsearch element within the
server.xml file contains the configuration properties for the Federated Data Repository.
The following table contains the common configuration properties.
| Property | Default value | Description |
|---|---|---|
| endpoints | None | A comma-separated list of URLs to the remote Elasticsearch or OpenSearch REST APIs entry points (cluster nodes). URLs can include an optional path if the Elasticsearch or OpenSearch REST API is accessed through a reverse proxy. |
| username | None | The user name if the remote Elasticsearch or OpenSearch REST API is available only to users who authenticate by using BASIC authentication credentials. |
| password | None | The user password if the remote Elasticsearch or OpenSearch REST API is available only to users who authenticate by using BASIC authentication credentials. |
|
maxResultWindow |
10000 |
The maximum size of a search result window, that must match the Elasticsearch or OpenSearch
index setting index.max_result_window. |
| connectTimeout | 10s |
Optional. The maximum amount of time Process Federation Server spends waiting to connect to the remote Elasticsearch or OpenSearch REST API. Specify a positive integer
followed by the unit of time, which can be seconds (s). For example, specify 30 seconds as
If no value is set, the default setting is used. |
| readTimeout | 30s |
Optional. The maximum amount of time Process Federation Server spends waiting for the remote Elasticsearch or OpenSearch REST API to respond. Specify a positive integer
followed by the unit of time, which can be seconds (s). For example, specify 60 seconds as
If no value is set, the default setting is used. |
| searchQueriesIndexName | ibmpfsqueries |
Type: String. The name of the Federated Data Repository index used to store reusable queries. |
| searchQueriesIndex.number_of_shards | 3 |
Type: Integer. Number of shards of the Federated Data Repository index used to store reusable queries. It cannot be changed once the index has been created. |
| searchQueriesIndex.number_of_replicas | 1 |
Type: Integer. Number of replicas (pods) of the Federated Data Repository index used to store reusable queries. |
| searchQueriesBatchSize | 100 |
Type: Integer. Batch size used for retrieving reusable queries from Federated Data Repository. |