Package org.hibernate.search.engine.cfg
This package contains everything related to the configuration of the Hibernate Search engine.
Common expected types for property values
Below are some commonly used property types across all Hibernate Search settings (engine, backends, mappers, ...).Bean reference
A reference to a bean of typeT can be passed as either:
- An instance of
T, - or a
BeanReferenceto a bean in the dependency injection context (CDI/Spring/etc.), - or a
Classrepresenting the type of such a bean, - or a
Stringrepresenting the name of such a bean, - or a
BeanReferenceto a type exposing a public, no-arg constructor, to be instantiated through that constructor outside of any injection context, - or a
Classrepresenting such type, - or a
Stringrepresenting the fully-qualified name of such type.
Class
representing the type of a CDI bean which happens to expose a public, no-arg constructor,
then Hibernate Search will retrieve the bean through CDI, not by calling the constructor directly.
Multi-valued bean reference
A multi-valued reference to a bean of typeT can be passed as either:
- A
Collectioncontaining any value that is accepted as a bean reference - or a comma-separated
Stringcontaining any String value that is accepted as a bean reference
-
Class Summary Class Description BackendSettings Configuration properties common to all Hibernate Search backends regardless of the underlying technology.EngineSettings Configuration properties for the Hibernate Search engine.EngineSettings.Defaults Default values for the different settings if no values are given.EngineSettings.Radicals Configuration property keys without theprefix.IndexSettings Configuration properties common to all Hibernate Search indexes regardless of the underlying technology. -
Enum Summary Enum Description ConfigurationPropertyCheckingStrategyName