You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/08/12 00:26:12 UTC
[jira] [Commented] (CAMEL-7681) Add Bulk Index mode to
Elasticsearch component
[ https://issues.apache.org/jira/browse/CAMEL-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093451#comment-14093451 ]
ASF GitHub Bot commented on CAMEL-7681:
---------------------------------------
GitHub user sebbrousse opened a pull request:
https://github.com/apache/camel/pull/235
Fix CAMEL-7681 : Add Bulk Index mode to Elasticsearch component
Add BULK_INDEX method
Add unit test that index 2 Map in a row
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sebbrousse/camel CAMEL-7681
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/235.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #235
----
commit d09e71aeec1b9dfb33782d9ce48fb1f6c80fbead
Author: sebbrousse <se...@gmail.com>
Date: 2014-08-11T21:15:52Z
Fix CAMEL-7681 : Add Bulk Index mode to Elasticsearch component
Add BULK_INDEX method
Add unit test that index 2 Map in a row
----
> Add Bulk Index mode to Elasticsearch component
> ----------------------------------------------
>
> Key: CAMEL-7681
> URL: https://issues.apache.org/jira/browse/CAMEL-7681
> Project: Camel
> Issue Type: New Feature
> Components: camel-elasticsearch
> Affects Versions: 2.13.2
> Reporter: Sébastien Brousse
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)