Using Bulk API to upsert mini-batches of records to Elasticsearch 5.1
When I try to upsert a badly formatted record (hence getting a
400 Failed to parse), most times ES rejects just that record in that batch. But sometimes, ES rejects that record as well as other records in that batch that do not have that issue (confirmed by successfully upserting those records in a different batch).
Is this expected?
How to understand this inconsistent behavior?