Interface HibernateSearchElasticsearchRuntimeConfigPersistenceUnit
public interface HibernateSearchElasticsearchRuntimeConfigPersistenceUnit
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Deprecated.static interface
Deprecated.static interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionactive()
Whether Hibernate Search should be active for this persistence unit at runtime.Deprecated.@WithUnnamedKey Map<String,
HibernateSearchBackendElasticsearchRuntimeConfig> backends()
Configuration for Elasticsearch/OpenSearch backends.indexing()
Configuration for indexing.Configuration for multi-tenancy.Configuration for how entities are loaded by a search query.Configuration for automatic creation and validation of the Elasticsearch schema: indexes, their mapping, their settings.
-
Method Details
-
active
@ConfigDocDefault("\'true\' if Hibernate Search is enabled; \'false\' otherwise") Optional<Boolean> active()Whether Hibernate Search should be active for this persistence unit at runtime. If Hibernate Search is not active, it won't index Hibernate ORM entities, and accessing the SearchMapping/SearchSession of the relevant persistence unit for search or other operation will not be possible. Note that if Hibernate Search is disabled (i.e. `quarkus.hibernate-search-orm.enabled` is set to `false`), it won't be active for any persistence unit, and setting this property to `true` will fail. -
backends
@ConfigDocSection @WithName("elasticsearch") @WithUnnamedKey @ConfigDocMapKey("backend-name") @WithUnnamedKey Map<String,HibernateSearchBackendElasticsearchRuntimeConfig> backends()Configuration for Elasticsearch/OpenSearch backends. -
schemaManagement
Configuration for automatic creation and validation of the Elasticsearch schema: indexes, their mapping, their settings. -
queryLoading
@WithName("query.loading") HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.SearchQueryLoadingConfig queryLoading()Configuration for how entities are loaded by a search query. -
indexing
Configuration for indexing. -
automaticIndexing
@Deprecated HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.AutomaticIndexingConfig automaticIndexing()Deprecated.Useindexing()
instead.Configuration for automatic indexing. -
multiTenancy
Configuration for multi-tenancy.
-
indexing()
instead.