public interface ProgrammaticSearchMappingProviderAn advanced SPI to be implemented by Infinispan modules that want to customize the
SearchMappingobject right before the bootstrap of the
SearchIntegratorbelonging to an indexed
SearchMappingobject provided via the "hibernate.search.model_mapping" config property is used as a starting point if it was present, otherwise an empty
Please note that in case multiple providers are found in classpath the order of invocation is not predictable so implementations must be careful not to step on each others toes.
void defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)Supply some custom programmatic mappings to Hibernate Search.
cache- the indexed cache instance
searchMapping- the mapping object to customize