Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnrichRecordsElasticsearch processor should allow to rename field names #279

Open
mariemat opened this issue Jun 2, 2017 · 0 comments
Open

Comments

@mariemat
Copy link
Contributor

mariemat commented Jun 2, 2017

Expected behavior and actual behavior.

When using the EnrichRecordsElasticsearch processor, the behavior is to add fields coming from elasticSearch into the current Record.
However, there might be some field naming conflicts, or field formatting (like underscore or camelCase) that are not aligned.

Steps to reproduce the problem.

N/A

Specifications like the version of the project, operating system, or hardware.

I'd like to be able to rename a field coming from ElasticSearch directly from there.
This could be done by allowing "es.includes.field" to support renaming with :
es.includes.field: id:item_id, description:item_description

The ':' character says that the left side is the name of the field coming from ES, and the right side is the name of the field to create into the Record.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants