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/09/22 20:24:34 UTC

[jira] [Commented] (CAMEL-7850) Allow to set the id of the indexed document via a header

    [ https://issues.apache.org/jira/browse/CAMEL-7850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143576#comment-14143576 ] 

ASF GitHub Bot commented on CAMEL-7850:
---------------------------------------

GitHub user sebbrousse opened a pull request:

    https://github.com/apache/camel/pull/274

    Camel 7850

    Fix CAMEL-7850 : Allow to set the id of the indexed document

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sebbrousse/camel CAMEL-7850

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/274.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 #274
    
----
commit bd14ed3514713110a23056963ab6f0ceabe18b3e
Author: sebbrousse <se...@gmail.com>
Date:   2014-09-22T18:14:15Z

    Fix CAMEL-7850 : Allow to set the id of the indexed document via a header
    Use indexId if it is provided by the header
    Add unit test that check that returned indexId is equals of the provided one.

commit 1867d0a653f41f7206c9c7aa31e6d2e81097e239
Author: sebbrousse <se...@gmail.com>
Date:   2014-09-22T18:22:49Z

    Correct CS errors

----


> Allow to set the id of the indexed document via a header
> --------------------------------------------------------
>
>                 Key: CAMEL-7850
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7850
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-elasticsearch
>    Affects Versions: 2.14.0
>            Reporter: Sébastien Brousse
>            Priority: Minor
>
> Hi,
> It would be nice to be able to set the id of the document to index instead of always generating it.
> I'll attach a PR as soon as possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)