Class 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 StringThe default index cleaning operation to apply during mass indexing, unless configured explicitly.static final StringHow to synchronize between application threads and indexing triggered by theSearchSession'sindexing plan.static final StringWhether Hibernate Search should automatically build Jandex indexes for types registered for annotation processing (entities in particular), to ensure that all "root mapping" annotations in those JARs (e.g.static final StringA configurer for the Hibernate Search mapping.static final StringWhether Hibernate Search should automatically discover annotated types present in the Jandex index that are also annotated withroot mapping annotations.static final StringEnables or disables multi-tenancy.static final StringHow to convert tenant identifier to and form the string representation.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.- See Also:
-
MAPPING_BUILD_MISSING_DISCOVERED_JANDEX_INDEXES
Whether Hibernate Search should automatically build Jandex indexes for types registered for annotation processing (entities in particular), to ensure that all "root mapping" annotations in those JARs (e.g.ProjectionConstructor) are taken into account.Expects a Boolean value such as
trueorfalse, or a string that can be parsed into a Boolean value.Defaults to
StandalonePojoMapperSettings.Defaults.MAPPING_BUILD_MISSING_DISCOVERED_JANDEX_INDEXES.- See Also:
-
MAPPING_DISCOVER_ANNOTATED_TYPES_FROM_ROOT_MAPPING_ANNOTATIONS
Whether Hibernate Search should automatically discover annotated types present in the Jandex index that are also annotated withroot mapping annotations.When enabled, if an annotation meta-annotated with
RootMappingis found in the Jandex index, and a type annotated with that annotation (e.g.SearchEntityorProjectionConstructor) is found in the Jandex index, then that type will automatically be scanned for mapping annotations, even if the type wasn't explicitly added.Expects a Boolean value such as
trueorfalse, or a string that can be parsed into a Boolean value.Defaults to
StandalonePojoMapperSettings.Defaults.MAPPING_DISCOVER_ANNOTATED_TYPES_FROM_ROOT_MAPPING_ANNOTATIONS.- See Also:
-
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.
- See Also:
-
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:
-
MULTI_TENANCY_TENANT_IDENTIFIER_CONVERTER
How to convert tenant identifier to and form the string representation.When multi-tenancy is enabled, and non-string tenant identifiers are used a custom converter must be provided through this property.
Defaults to
StandalonePojoMapperSettings.Defaults.MULTI_TENANCY_TENANT_IDENTIFIER_CONVERTER. This converter only supports string tenant identifiers and will fail if some other type of identifiers is used.- 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.- See Also:
-
INDEXING_MASS_DEFAULT_CLEAN_OPERATION
The default index cleaning operation to apply during mass indexing, unless configured explicitly.Expects a
MassIndexingDefaultCleanOperationvalue, or a String representation of such value.Defaults to
StandalonePojoMapperSettings.Defaults.INDEXING_MASS_DEFAULT_CLEAN_OPERATION.- See Also:
-