ChrisSamo632 commented on a change in pull request #4693:
URL: https://github.com/apache/nifi/pull/4693#discussion_r724364848



##########
File path: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/main/java/org/apache/nifi/elasticsearch/ElasticSearchClientServiceImpl.java
##########
@@ -359,9 +358,21 @@ public DeleteOperationResponse deleteByQuery(final String 
query, final String in
         return new 
DeleteOperationResponse(watch.getDuration(TimeUnit.MILLISECONDS));
     }
 
+
+    public UpdateOperationResponse updateByQuery(final String query, final 
String index, final String type, final Map<String, String> requestParameters) {
+        long start = System.currentTimeMillis();
+        Response response = runQuery("_update_by_query", query, index, type, 
requestParameters);
+        long end   = System.currentTimeMillis();

Review comment:
       Think this was an existing thing, I generally don't like aligning things 
in thiw way either, so happy to change 🤷 




-- 
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]


Reply via email to