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

Add Bulk Index mode to Elasticsearch component

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13.2
    • 2.14.0
    • camel-elasticsearch
    • None
    • Unknown

    Description

      Hi,

      It would be nice if the ES component could support the bulk mode to index several documents in one row in a faster and more performant way.

      I propose a new operation named BULK_INDEX.
      The incoming body would be a List of any type that is already accepted (XContentBuilder, Map, byte[], String). Or simply a Collection may be, if a List is too narrow-minded.

      The result could be a List of the id of the successfully indexed documents.

      Have you any tips on the way you usely treat this kind of operation

      Attachments

        Activity

          People

            njiang Willem Jiang
            seb_brousse Sébastien Brousse
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: