Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  Elasticsearch: Allow to configure REST client's retry timeout
  ElasticConfiguration: Make hosts private
  config-gerrit: Fix formatting of elasticsearch.name.hostname

Change-Id: I0aa1e3f488532d454bd00385412a3da603b6080b
This commit is contained in:
David Pursehouse
2018-07-03 10:32:30 +09:00
3 changed files with 19 additions and 56 deletions

View File

@@ -2921,41 +2921,13 @@ Password used to connect to Elasticsearch.
+
Not set by default.
[[elasticsearch.requestCompression]]elasticsearch.requestCompression::
[[elasticsearch.maxRetryTimeout]]elasticsearch.maxRetryTimeout::
+
Enable request compression.
+
Defaults to `false`.
[[elasticsearch.connectionTimeout]]elasticsearch.connectionTimeout::
+
How long should Gerrit waits for connection.
Sets the maximum timeout to honor in case of multiple retries of the same request.
+
The value is in the usual time-unit format like `1 m`, `5 m`.
+
Defaults to `5 m`
[[elasticsearch.maxConnectionIdleTime]]elasticsearch.maxConnectionIdleTime::
+
How long connection can stay in idle.
+
The value is in the usual time-unit format like `1 m`, `5 m`.
+
Defaults to `5 m`
[[elasticsearch.maxTotalConnection]]elasticsearch.maxTotalConnection::
+
How many connections can be spawned simultaneously.
+
Defaults to `1`
[[elasticsearch.maxReadTimeout]]elasticsearch.maxReadTimeout::
+
Timeout for read operations.
+
The value is in the usual time-unit format like `1 m`, `5 m`.
+
Defaults to `5 m`
Defaults to `30000 ms`.
==== Elasticsearch server(s) configuration
@@ -2970,7 +2942,7 @@ Defaults to `http`.
[[elasticsearch.name.hostname]]elasticsearch.name.hostname::
+
Elasticsearch server hostname.
+
Defaults to `localhost`.
[[elasticsearch.name.port]]elasticsearch.name.port::