[
https://issues.apache.org/jira/browse/STORM-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693503#comment-14693503
]
ASF GitHub Bot commented on STORM-974:
--------------------------------------
GitHub user HeartSaVioR opened a pull request:
https://github.com/apache/storm/pull/679
STORM-974 Introduces Tuple -> ES document mapper to get rid of constant
field mapping
* EsTupleMapper defines how to extract source, index, type, and id from
tuple for ElasticSearch.
* Applies EsTupleMapper to completely get rid of constant field mapping.
* Also modifying README.md to show how to use.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HeartSaVioR/storm STORM-974
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/679.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 #679
----
commit 1f93a3f0f8194715c35869766dec5fc623066d3e
Author: Jungtaek Lim <[email protected]>
Date: 2015-08-12T13:46:13Z
STORM-974 Introduces Tuple -> ES document mapper to get rid of constant
field mapping
* EsTupleMapper defines how to extract source, index, type, and id from
tuple for ElasticSearch.
* Applies EsTupleMapper to completely get rid of constant field mapping.
* Also modifying README.md to show how to use.
----
> [storm-elasticsearch] Introduces Tuple -> ES document mapper to get rid of
> constant field mapping (source, index, type)
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: STORM-974
> URL: https://issues.apache.org/jira/browse/STORM-974
> Project: Apache Storm
> Issue Type: Improvement
> Reporter: Jungtaek Lim
>
> For now EsIndexBolt uses constant field mapping (source, index, type) which
> is not flexible.
> We can introduce tuple -> ES document mapper interface to let users define
> their relationship, as other external modules did.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)