Github user HeartSaVioR commented on a diff in the pull request:
https://github.com/apache/storm/pull/2128#discussion_r121072928
--- Diff:
external/storm-elasticsearch/src/main/java/org/apache/storm/elasticsearch/bolt/EsPercolateBolt.java
---
@@ -81,7 +81,7 @@ public void process(Tuple tuple) {
Map<String, String> indexParams = new HashMap<>();
indexParams.put(type, null);
String percolateDoc = "{\"doc\": " + source + "}";
- Response response = client.performRequest("get",
getEndpoint(index, type, "_percolate"), new HashMap<>(), new
StringEntity(percolateDoc));
+ Response response = client.performRequest("get",
getEndpoint(index, type, "_percolate"), new HashMap<String, String>(), new
StringEntity(percolateDoc));
--- End diff --
What's rationale of this patch? Did it occur compile issue?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---