public final class HibernateOrmMapperSettings extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HibernateOrmMapperSettings.Defaults
Default values for the different settings if no values are given.
|
static class |
HibernateOrmMapperSettings.Radicals |
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTOREGISTER_LISTENERS
Whether Hibernate Search should automatically register listeners to entity changes,
so that changes to entities result in automatic indexing.
|
static String |
ENABLE_ANNOTATION_MAPPING
Whether annotations should be automatically processed for entity types,
as well as nested types in those entity types, for instance embedded types.
|
static String |
ENABLE_CONFIGURATION_PROPERTY_TRACKING
Whether usage of configuration property should be tracked.
|
static String |
ENABLE_DIRTY_CHECK
Whether to check if dirty properties are relevant to indexing before actually reindexing an entity.
|
static String |
INDEXING_STRATEGY
The indexing strategy to use.
|
static String |
MAPPING_CONFIGURER
The mapping configurer to use.
|
static String |
PREFIX |
public static final String PREFIX
public static final String ENABLE_CONFIGURATION_PROPERTY_TRACKING
When enabled, Hibernate Search will track the parts of the provided configuration that are actually used and log a warning if any configuration property is never used, which might indicate a configuration issue.
Expects a Boolean value such as true or false,
or a string that can be parsed to such Boolean value.
Defaults to HibernateOrmMapperSettings.Defaults.ENABLE_CONFIGURATION_PROPERTY_TRACKING.
public static final String AUTOREGISTER_LISTENERS
Expects a Boolean value such as true or false,
or a string that can be parsed to such Boolean value.
Defaults to HibernateOrmMapperSettings.Defaults.AUTOREGISTER_LISTENERS.
public static final String INDEXING_STRATEGY
Expects a HibernateOrmIndexingStrategyName value, or a String representation of such value.
Defaults to HibernateOrmMapperSettings.Defaults.INDEXING_STRATEGY.
public static final String ENABLE_DIRTY_CHECK
When enabled, re-indexing of an entity is skipped if the only changes are on properties that are not used when indexing. This feature is considered safe and thus enabled by default.
Expects a Boolean value such as true or false,
or a string that can be parsed to such Boolean value.
Defaults to Defaults#ENABLE_DIRTY_CHECK.
public static final String ENABLE_ANNOTATION_MAPPING
Expects a Boolean value such as true or false,
or a string that can be parsed to such Boolean value.
Defaults to Defaults#ENABLE_ANNOTATION_MAPPING.
public static final String MAPPING_CONFIGURER
Expects a reference to a bean of type HibernateOrmSearchMappingConfigurer.
Defaults to no value.
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.