Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19752

Usage of "doc" prefix in some elasticsearch operations are regression to camel-elasticsearch-rest

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            nfilotto Nicolas Filotto
            llowinge Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: