Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
postprocessing
rico-edm-transformer
Commits
43b09b26
Commit
43b09b26
authored
Jun 24, 2021
by
Günter Hipler
Browse files
too much lines commented when removing the cluster header property - grr
parent
1c480f8e
Pipeline
#28496
passed with stages
in 7 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/scala/ch/memobase/rico2edm/utils/ElasticSearchClientWrapper.scala
View file @
43b09b26
...
...
@@ -138,12 +138,14 @@ object ElasticSearchClientWrapper extends Logging{
cp. https://discuss.elastic.co/t/when-does-client-need-cluster-name/114916
val headers = Array(new BasicHeader("cluster.name", props.get(Keys.ELASTIC_CLUSTERNAME).toString)
.asInstanceOf[Header])
new RestHighLevelClient(RestClient.builder(hosts.toArray : _*).setDefaultHeaders(headers))
*/
}
new
RestHighLevelClient
(
RestClient
.
builder
(
hosts
.
toArray
:
_
*
))
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment