[ 
https://issues.apache.org/jira/browse/NIFI-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181420#comment-15181420
 ] 

ASF GitHub Bot commented on NIFI-1594:
--------------------------------------

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

    https://github.com/apache/nifi/pull/255#discussion_r55112614
  
    --- Diff: 
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/src/main/java/org/apache/nifi/processors/elasticsearch/PutElasticsearch.java
 ---
    @@ -99,6 +99,14 @@
                         AttributeExpression.ResultType.STRING, true))
                 .build();
     
    +    public static final PropertyDescriptor INDEX_OP = new 
PropertyDescriptor.Builder()
    +            .name("Index Operation")
    +            .description("The type of the operation used to index (index, 
update, upsert)")
    --- End diff --
    
    The description mentions three modes but only two are allowed. Should they 
be "insert" and "update/upsert", or is "index" the preferred terminology for 
adding a new document?


> Add option to bulk using Index or Update to PutElasticsearch
> ------------------------------------------------------------
>
>                 Key: NIFI-1594
>                 URL: https://issues.apache.org/jira/browse/NIFI-1594
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: João Henrique Ferreira de Freitas
>            Priority: Minor
>
> I have a use case where two flowfiles needs to be write using 
> PutElasticsearch. Both will write to the same document but in different 
> properties. 
> The proposal is to let the user choice if an Update operation or Index is 
> needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to