Interface HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit


public interface HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit
  • Method Details

    • backends

      @ConfigDocSection @WithName("elasticsearch") @WithUnnamedKey @ConfigDocMapKey("backend-name") @WithUnnamedKey Map<String,HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.ElasticsearchBackendBuildTimeConfig> backends()
      Configuration for backends.
    • backgroundFailureHandler

      Optional<String> backgroundFailureHandler()
      A xref:hibernate-search-orm-elasticsearch.adoc#bean-reference-note-anchor[bean reference] to a component that should be notified of any failure occurring in a background process (mainly index operations). The referenced bean must implement `FailureHandler`. See link:{hibernate-search-docs-url}#configuration-background-failure-handling[this section of the reference documentation] for more information. [NOTE] ==== Instead of setting this configuration property, you can simply annotate your custom `FailureHandler` implementation with `@SearchExtension` and leave the configuration property unset: Hibernate Search will use the annotated implementation automatically. See xref:hibernate-search-orm-elasticsearch.adoc#plugging-in-custom-components[this section] for more information. If this configuration property is set, it takes precedence over any `@SearchExtension` annotation. ====
    • coordination

      Configuration for coordination between threads or application instances.
    • mapping

      Configuration for mapping.