See HSEARCH-3788 In Progress , HSEARCH-3765 In Progress .
There are several fields that we add automatically to the schema and whose name is hardcoded.
We could expose configuration options to set the name of those fields.
For example:
hibernate.search.backend.myBackend.multitenancy.strategy = discriminator hibernate.search.backend.myBackend.multitenancy.fields.tenant_id = myTenantIdName hibernate.search.backend.myBackend.multitenancy.fields.id = myIdName hibernate.search.backend.myBackend.mapping.type_name.strategy = discriminator hibernate.search.backend.myBackend.mapping.type_name.fields.type = myTypeFieldName