fabriziofortino commented on code in PR #2125:
URL: https://github.com/apache/jackrabbit-oak/pull/2125#discussion_r1977275248
##########
oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/index/ElasticIndexWriter.java:
##########
@@ -186,11 +185,7 @@ private void provisionIndex() throws IOException {
}
final CreateIndexRequest request =
ElasticIndexHelper.createIndexRequest(indexName, indexDefinition);
- if (LOG.isDebugEnabled()) {
- StringBuilder sb = new StringBuilder();
- JsonpUtils.toString(request, sb);
- LOG.debug("Creating Index with request {}", sb);
- }
+ LOG.debug("Creating Index with request {}", request);
Review Comment:
Correct. It was an issue with earlier versions of the client. Fixed with
https://github.com/elastic/elasticsearch-java/pull/269
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]