Github user zenfenan commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2616#discussion_r181066059
  
    --- Diff: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-restapi-processors/src/main/java/org/apache/nifi/processors/elasticsearch/ElasticSearchRestProcessor.java
 ---
    @@ -51,14 +51,8 @@
         PropertyDescriptor QUERY = new PropertyDescriptor.Builder()
                 .name("el-rest-query")
                 .displayName("Query")
    -            .description("A query in JSON syntax, not Lucene syntax. Ex: " 
+
    -                    "{\n" +
    -                    "\t\"query\": {\n" +
    -                    "\t\t\"match\": {\n" +
    -                    "\t\t\t\"name\": \"John Smith\"\n" +
    -                    "\t\t}\n" +
    -                    "\t}\n" +
    -                    "}")
    +            .description("A query in JSON syntax, not Lucene syntax. Ex: 
{\"query\":{\"match\":{\"somefield\":\"somevalue\"}}}. " +
    +                    "If this parameter is not set, the query will be ready 
from the flowfile content.")
    --- End diff --
    
    Typo : 'read'


---

Reply via email to