[
https://issues.apache.org/jira/browse/FLINK-5353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761472#comment-15761472
]
Flavio Pompermaier commented on FLINK-5353:
-------------------------------------------
I just remember that in the afterBulk the error was thrown somehow but I don't
remember if it was a typed or a generic Exception..You can try to customize a
mapping for an index (e.g. set a field of type int) and then index a document
that doesn't respect that mapping.
We shared a simple admin client to do that at
https://github.com/okkam-it/flink-examples/blob/master/src/main/java/it/okkam/datalinks/batch/flink/elasticsearch/ElasticsearchHelper.java
> Elasticsearch Sink loses well-formed documents when there are malformed
> documents
> ---------------------------------------------------------------------------------
>
> Key: FLINK-5353
> URL: https://issues.apache.org/jira/browse/FLINK-5353
> Project: Flink
> Issue Type: Bug
> Components: Batch Connectors and Input/Output Formats
> Affects Versions: 1.1.3
> Reporter: Flavio Pompermaier
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)