Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2616#discussion_r184433040
--- Diff:
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/test/java/org/apache/nifi/elasticsearch/integration/ElasticSearchClientService_IT.java
---
@@ -102,4 +129,43 @@ public void testBasicSearch() throws Exception {
Assert.assertEquals(String.format("%s did not match", key),
expected.get(key), docCount);
}
}
+
+ @Test
+ public void testDeleteByQuery() throws Exception {
+ String query = "{\n" +
--- End diff --
Nitpick, but if ES doesn't require the query be pretty-printed, it might be
easier to read if it were just a one-line string.
---