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
BeanReference
to a bean in the dependency injection context (CDI/Spring/etc.), - or a
Class
representing the type of such a bean, - or a
String
representing the name of such a bean, - or a
BeanReference
to a type exposing a public, no-arg constructor, to be instantiated through that constructor outside of any injection context, - or a
Class
representing such type, - or a
String
representing 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
Collection
containing any value that is accepted as a bean reference - or a comma-separated
String
containing any String value that is accepted as a bean reference
-
Interface Summary Interface Description ConfigurationPropertySource A source of property values for Hibernate Search. -
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