Class EngineSettings


  • public final class EngineSettings
    extends Object
    Configuration properties for the Hibernate Search engine.
    • 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
      • DEFAULT_BACKEND

        @Deprecated
        public static final String DEFAULT_BACKEND
        Deprecated.
        The default backend shouldn't be assigned a name; just prefix its properties with BACKEND instead of BACKENDS + a name.
        The name of the default backend to use when none is defined in the index configuration.

        Expects a String.

        Defaults to no value, meaning a backend must be set in the mapping for every single index.

        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
      • BACKGROUND_FAILURE_HANDLER

        public static final String BACKGROUND_FAILURE_HANDLER
        The FailureHandler instance 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 a logging handler.

        See Also:
        Constant Field Values