Package org.infinispan.query.spi
Interface ProgrammaticSearchMappingProvider
-
public interface ProgrammaticSearchMappingProviderAn advanced SPI to be implemented by Infinispan modules that want to customize theSearchMappingobject right before the bootstrap of theSearchIntegratorbelonging to an indexedCache. TheSearchMappingobject provided via the "hibernate.search.model_mapping" config property is used as a starting point if it was present, otherwise an emptySearchMappingis used.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.
- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddefineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)Supply some custom programmatic mappings to Hibernate Search.
-
-
-
Method Detail
-
defineMappings
void defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)
Supply some custom programmatic mappings to Hibernate Search.- Parameters:
cache- the indexed cache instancesearchMapping- the mapping object to customize
-
-