Package org.hibernate.search.engine.cfg
Class EngineSettings
- java.lang.Object
-
- org.hibernate.search.engine.cfg.EngineSettings
-
public final class EngineSettings extends Object
Configuration properties for the Hibernate Search engine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEngineSettings.DefaultsDefault values for the different settings if no values are given.static classEngineSettings.RadicalsConfiguration property keys without theprefix.
-
Field Summary
Fields Modifier and Type Field Description static StringBACKENDThe root property for properties of the default backend, e.g.static StringBACKENDSThe root property for properties of named backends, e.g.static StringBACKGROUND_FAILURE_HANDLERTheFailureHandlerinstance that should be notified of any failure occurring in a background process (mainly index operations).static StringCONFIGURATION_PROPERTY_CHECKING_STRATEGYThe strategy to use when reporting the results of configuration property checking.static StringPREFIXThe prefix expected for the key of every Hibernate Search configuration property.
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
The prefix expected for the key of every Hibernate Search configuration property.- See Also:
- Constant Field Values
-
BACKEND
public static final String BACKEND
The root property for properties of the default backend, e.g. "hibernate.search.backend.type = elasticsearch".- See Also:
- Constant Field Values
-
BACKENDS
public static final String BACKENDS
The root property for properties of named backends, e.g. "hibernate.search.backends.myBackend.type = elasticsearch".- See Also:
- Constant Field Values
-
CONFIGURATION_PROPERTY_CHECKING_STRATEGY
public static final String CONFIGURATION_PROPERTY_CHECKING_STRATEGY
The strategy to use when reporting the results of configuration property checking.Configuration property checking will detect an configuration property that is never used, which might indicate a configuration issue.
Expects a
ConfigurationPropertyCheckingStrategyNamevalue, or a String representation of such value.Defaults to
EngineSettings.Defaults.CONFIGURATION_PROPERTY_CHECKING_STRATEGY.- See Also:
- Constant Field Values
-
BACKGROUND_FAILURE_HANDLER
public static final String BACKGROUND_FAILURE_HANDLER
TheFailureHandlerinstance that should be notified of any failure occurring in a background process (mainly index operations).Expects a reference to a bean of type
FailureHandler.Defaults to
EngineSettings.Defaults.BACKGROUND_FAILURE_HANDLER, a logging handler.- See Also:
- Constant Field Values
-
-