Class StandalonePojoMapperSettings
java.lang.Object
org.hibernate.search.mapper.pojo.standalone.cfg.StandalonePojoMapperSettings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefault values for the different settings if no values are given.static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringHow to synchronize between application threads and indexing triggered by theSearchSession'sindexing plan.static final StringA configurer for the Hibernate Search mapping.static final StringEnables or disables multi-tenancy.static final Stringstatic final StringThe schema management strategy, controlling how indexes and their schema are created, updated, validated or dropped on startup and shutdown. -
Method Summary
-
Field Details
-
PREFIX
- See Also:
-
SCHEMA_MANAGEMENT_STRATEGY
The schema management strategy, controlling how indexes and their schema are created, updated, validated or dropped on startup and shutdown.Expects a
SchemaManagementStrategyNamevalue, or a String representation of such value.Defaults to
StandalonePojoMapperSettings.Defaults.SCHEMA_MANAGEMENT_STRATEGY. -
MAPPING_CONFIGURER
A configurer for the Hibernate Search mapping.Expects a single-valued or multi-valued reference to beans of type
StandalonePojoMappingConfigurer.Defaults to no value.
-
MULTI_TENANCY_ENABLED
Enables or disables multi-tenancy.If multi-tenancy is enabled, every
sessionwill need to be assigned a tenant identifier.Expects a boolean value.
Defaults to
StandalonePojoMapperSettings.Defaults.MULTI_TENANCY_ENABLED.- See Also:
-
INDEXING_PLAN_SYNCHRONIZATION_STRATEGY
How to synchronize between application threads and indexing triggered by theSearchSession'sindexing plan.Expects one of the strings defined in
IndexingPlanSynchronizationStrategy, or a reference to a bean of typeIndexingPlanSynchronizationStrategy.Defaults to
StandalonePojoMapperSettings.Defaults.INDEXING_PLAN_SYNCHRONIZATION_STRATEGY.
-