You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2021/05/15 17:20:02 UTC
[jira] [Commented] (BEAM-11283) Allow for Parent parameter for
Parent/Child join - ElasticsearchIO
[ https://issues.apache.org/jira/browse/BEAM-11283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17345085#comment-17345085 ]
Beam JIRA Bot commented on BEAM-11283:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.
> Allow for Parent parameter for Parent/Child join - ElasticsearchIO
> ------------------------------------------------------------------
>
> Key: BEAM-11283
> URL: https://issues.apache.org/jira/browse/BEAM-11283
> Project: Beam
> Issue Type: Improvement
> Components: io-java-elasticsearch
> Affects Versions: 2.25.0
> Reporter: Robert Coe
> Priority: P2
> Labels: stale-P2
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> It is impossible to index Parent/Child documents using ElasticsearchIO
>
> When using parent/child documents in Elasticsearch, child documents must be indexed using the "parent" attribute when using the bulk endpoint.
>
> [https://www.elastic.co/guide/en/elasticsearch/guide/master/indexing-parent-child.html]
> [https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html]
>
> [https://github.com/apache/beam/blob/master/sdks/java/io/elasticsearch/src/main/java/org/apache/beam/sdk/io/elasticsearch/ElasticsearchIO.java]
> There needs to be a "parent" attribute on the DocumentMetadata object. I think a FieldValueExtractFn would work really nicely for this
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)