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/09/12 17:24:00 UTC
[jira] [Assigned] (BEAM-12722) Add ElasticsearchIO External
Versioning
[ https://issues.apache.org/jira/browse/BEAM-12722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Beam JIRA Bot reassigned BEAM-12722:
------------------------------------
Assignee: (was: Evan Galpin)
> Add ElasticsearchIO External Versioning
> ---------------------------------------
>
> Key: BEAM-12722
> URL: https://issues.apache.org/jira/browse/BEAM-12722
> Project: Beam
> Issue Type: Improvement
> Components: io-java-elasticsearch
> Environment: Java SDK (all environments)
> Reporter: Benjamin Daghir
> Priority: P2
> Labels: features, stale-assigned
>
> h2. Elasticsearch External Versioning
> Beam's ElasticsearchIO Java SDK currently does not support [external versioning|https://www.elastic.co/blog/elasticsearch-versioning-support].
> h3. Use Case
> A primary use case is leveraging partial updates when performing a reindex operation. Without explicitly setting the external version, the versioning is set to default and version conflicts prevent any document updates.
> h3. API Usage for External Versioning
> When using Elasticsearch's API, the *?version_type=external&version=1.0.0* query parameters must be provided.
> [The options for *version_type* are|https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html#index-version-types]:
> * *external* or *external_gt*
> * *external_gte*
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)