[
https://issues.apache.org/jira/browse/CAMEL-19752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761445#comment-17761445
]
Nicolas Filotto commented on CAMEL-19752:
-----------------------------------------
The corresponding PRs:
* 3.20 https://github.com/apache/camel/pull/11280
* 3.21 https://github.com/apache/camel/pull/11286
* 3.22 https://github.com/apache/camel/pull/11287
* 4.0 https://github.com/apache/camel/pull/11288
* 4.1 https://github.com/apache/camel/pull/11289
> 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
> Fix For: 3.20.7, 3.21.1, 3.22.0, 4.0.1, 4.1.0
>
>
> 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)