- RECREATE should be DROP_AND_CREATE to be in line with the JPA option
- Then RECREATE_DROP should be something like DROP_AND_CREATE_AND_DROP? Or maybe a separate configuration property?
- MERGE should be UPDATE to be in line with the Hibernate ORM option (there's no equivalent in JPA)
- We should expect lowercase values with hyphens instead of uppercase values with underscores in the properties, because that's what both Hibernate ORM and JPA do.
In theory we are allowed to introduce such breaking changes because Elasticsearch is a tech preview. In practice, I'd be in favor of either postponing this change to 6, or keeping support for the old values, and just issue warnings to indicate those are deprecated. |