You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Josh Harrison (JIRA)" <ji...@apache.org> on 2016/12/28 18:29:58 UTC
[jira] [Created] (NIFI-3262) PutElasticsearch support for
_routing/_parent
Josh Harrison created NIFI-3262:
-----------------------------------
Summary: PutElasticsearch support for _routing/_parent
Key: NIFI-3262
URL: https://issues.apache.org/jira/browse/NIFI-3262
Project: Apache NiFi
Issue Type: Improvement
Reporter: Josh Harrison
Due to the structure of the current nifi Elasticsearch indexing processors, it doesn't appear possible to specify explicit _routing or _parent fields when using any of the PutElasticsearch processors (PutElasticsearch, PutElasticsearchHTTP, PutElasticsearch5).
The ability to optionally specify the _parent and/or _routing parameters that can be present in a normal bulk index request would be really valuable.
An alternative to adding a handled attribute would be adding support for the bulk indexing syntax as defined on https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html - a two line structure where line one contains the indexing instructions in a JSON object, and line two contains the content of the object. Each line ends with an explicit newline character (\n). This would allow bulk indexing, update, delete, etc operations to be carried out through nifi.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)