[ https://issues.apache.org/jira/browse/CAMEL-19752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754980#comment-17754980 ]
Lukas Lowinger commented on CAMEL-19752: ---------------------------------------- [~essobedo] I've seen you've created the tests and maybe you have better insight into it. Do you think documenting it would be valuable ? Would you be able to provide some example + document it little bit ? Thank you in advance, it would really help with transition from camel-elasticsearch-rest. > 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 > Priority: Major > > 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)