java.lang.IndexOutOfBoundsException when an Elasticsearch bulk work fails

Description

It looks like the class org.hibernate.search.backend.elasticsearch.work.impl.BulkWork assumes the bulk work always succeeds, leading to the creation of an empty list of result items when it fails. Consequently, if a bulk work fails, result extraction will try to access a result item that doesn't exist and trigger an IndexOutOfBoundsException.

Activity

Show:
Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Priority

Created March 25, 2020 at 12:49 PM
Updated March 31, 2020 at 11:52 AM
Resolved March 25, 2020 at 3:20 PM