@IndexedEmbedded should be repeatable

Description

As long as we're using a different prefix for each @IndexedEmbedded, there is no problem with applying multiple @IndexedEmbedded to the same property.

There are use cases, too: it could be used to store some properties in a flattened object field (for performance), and others in nested documents (for advanced filtering).

Let's add @Repeatable to that annotation, and let's check we have a test somewhere.

Environment

None

Assignee

Fabio Massimo Ercoli

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure