[ https://issues.apache.org/jira/browse/CAMEL-19752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761297#comment-17761297 ]
Lukas Lowinger commented on CAMEL-19752: ---------------------------------------- [~nfilotto] Yes, definitely. Thank you for your effort ! > 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 > Assignee: Nicolas Filotto > 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)