Interface HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.MappingConfig
- Enclosing interface:
- HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit
public static interface HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.MappingConfig
-
Method Summary
Modifier and TypeMethodDescriptionOne or more xref:hibernate-search-orm-elasticsearch.adoc#bean-reference-note-anchor[bean references] to the component(s) used to configure the Hibernate Search mapping, in particular programmatically.
-
Method Details
-
configurer
One or more xref:hibernate-search-orm-elasticsearch.adoc#bean-reference-note-anchor[bean references] to the component(s) used to configure the Hibernate Search mapping, in particular programmatically. The referenced beans must implement `HibernateOrmSearchMappingConfigurer`. See xref:hibernate-search-orm-elasticsearch.adoc#programmatic-mapping[Programmatic mapping] for an example on how mapping configurers can be used to apply programmatic mappings. [NOTE] ==== Instead of setting this configuration property, you can simply annotate your custom `HibernateOrmSearchMappingConfigurer` implementations with `@SearchExtension` and leave the configuration property unset: Hibernate Search will use the annotated implementation automatically. See xref:hibernate-search-orm-elasticsearch.adoc#plugging-in-custom-components[this section] for more information. If this configuration property is set, it takes precedence over any `@SearchExtension` annotation. ====
-