Package org.hibernate.search.engine.cfg
Class EngineSettings
java.lang.Object
org.hibernate.search.engine.cfg.EngineSettings
Configuration properties for the Hibernate Search engine.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefault values for the different settings if no values are given.static classConfiguration property keys without theprefix. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe root property for properties of the default backend, e.g.static final StringThe root property for properties of named backends, e.g.static final StringTheFailureHandlerinstance that should be notified of any failure occurring in a background process (mainly index operations).static final StringHow to report the results of configuration property checking.static final StringThe prefix expected for the key of every Hibernate Search configuration property. -
Method Summary
-
Field Details
-
PREFIX
The prefix expected for the key of every Hibernate Search configuration property.- See Also:
-
BACKEND
The root property for properties of the default backend, e.g. "hibernate.search.backend.type = elasticsearch".- See Also:
-
BACKENDS
The root property for properties of named backends, e.g. "hibernate.search.backends.myBackend.type = elasticsearch".- See Also:
-
CONFIGURATION_PROPERTY_CHECKING_STRATEGY
How to report 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:
-
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:
-