thomasmueller commented on code in PR #2125:
URL: https://github.com/apache/jackrabbit-oak/pull/2125#discussion_r1977272707
##########
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:
Ah yes, sorry, it does work! Maybe it wasn't working properly before? Not
sure...
`CreateIndexRequest: PUT /...
{"mappings":{"dynamic":true,"properties":{":depth":....}}}}}
`
--
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]