Delay creating index names for the Elasticsearch backend till "runtime"

Activity

Show:

Yoann RodièreJuly 15, 2024 at 2:11 PM

See https://github.com/quarkusio/quarkus/issues/41429: to take full advantage of the index layout strategy in Quarkus, and in particular to use a different layout depending on the environment, the layout strategy should be retrieved and used on index start() rather than during model building.

It makes perfect sense, by the way, since the index names are only used to send requests to Elasticsearch, so after start() gets executed.

I think there is no equivalent limitation to be removed in Lucene, as index names there are fully defined by entity names with no concept of layout strategy, but we might want to check.

Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Priority

Created June 28, 2024 at 10:53 AM
Updated August 7, 2024 at 6:29 AM
Resolved July 16, 2024 at 2:11 PM

Flag notifications