Interface HibernateSearchStandaloneBuildTimeConfig
@ConfigMapping(prefix="quarkus.hibernate-search-standalone")
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
public interface HibernateSearchStandaloneBuildTimeConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescription@WithUnnamedKey Map<String, io.quarkus.hibernate.search.backend.elasticsearch.common.runtime.HibernateSearchBackendElasticsearchBuildTimeConfig> backends()Configuration for Elasticsearch/OpenSearch backends.A xref:hibernate-search-standalone-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).booleanenabled()Whether Hibernate Search Standalone is enabled **during the build**.Management interface.mapping()Configuration related to the mapping.
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()Whether Hibernate Search Standalone is enabled **during the build**. If Hibernate Search is disabled during the build, all processing related to Hibernate Search will be skipped, but it will not be possible to activate Hibernate Search at runtime: `quarkus.hibernate-search-standalone.active` will default to `false` and setting it to `true` will lead to an error. -
backends
@ConfigDocSection @WithName("elasticsearch") @WithUnnamedKey @ConfigDocMapKey("backend-name") @WithUnnamedKey Map<String,io.quarkus.hibernate.search.backend.elasticsearch.common.runtime.HibernateSearchBackendElasticsearchBuildTimeConfig> backends()Configuration for Elasticsearch/OpenSearch backends. -
backgroundFailureHandler
A xref:hibernate-search-standalone-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-standalone-elasticsearch.adoc#plugging-in-custom-components[this section] for more information. If this configuration property is set, it takes precedence over any `@SearchExtension` annotation. ==== -
management
Management interface. -
mapping
Configuration related to the mapping.
-