explain() fails for indexes with a custom name

Description

It seems we cannot do an explain query using the Lucene extension if we change the index name, e.g: setting the name attribute of an @Index annotation.

On attach I will leave a patch to reproduce the case, it targets the showcase IT module, I didn’t have the time to understand if the issue is due by the mapper or by the backend side.

E.g: changing the index name from Book to book (all lowercase) the error message will be:

Environment

None

Assignee

Fabio Massimo Ercoli

Reporter

Fabio Massimo Ercoli

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure