Lukas Lowinger created CAMEL-19752:
--------------------------------------

             Summary: Usage of "doc" prefix in some elasticsearch operations 
are regression to camel-elasticsearch-rest
                 Key: CAMEL-19752
                 URL: https://issues.apache.org/jira/browse/CAMEL-19752
             Project: Camel
          Issue Type: Improvement
          Components: camel-elasticsearch
            Reporter: Lukas Lowinger


I've noticed that some elasticsearch operations needs another key element 
("doc") added to the map before it is passed to camel route. 

It can be seen on many places in the camel tests - eg. 
[https://github.com/apache/camel/blob/main/components/camel-elasticsearch/src/test/java/org/apache/camel/component/es/integration/ElasticsearchGetSearchDeleteExistsUpdateIT.java#L280]

This is regression to previous camel-elasticsearch-rest component and could be 
tricky for users to figure it out (as i had to as well).

 

It would be nice to document it and also provide some example with its usage.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to