Pedro Gomes created NIFI-4625:
---------------------------------

             Summary: Add External Versioning to PutElasticSearch5 Processor
                 Key: NIFI-4625
                 URL: https://issues.apache.org/jira/browse/NIFI-4625
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
    Affects Versions: 1.3.0
         Environment: All
            Reporter: Pedro Gomes
             Fix For: 1.5.0


Currently the PutElasticSearch5 processor does not support external versioning.
The idea would be to add a property that follows the same logic as the Id 
property, and allows index documents with an externally controlled version.

I've changed the code already and added some tests. Right now the changes 
proposed are:
- Add a new property Version in the processor block.
- Change the Index operation to support the versioning number and versioning 
type = external
- Check if the versioning is used with other operation types, fail if so.
(Idea behind this is that the bulk api doest not support external versioning 
for any other operation except Index)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to