Interface HibernateSearchElasticsearchRuntimeConfigPersistenceUnit
-
public interface HibernateSearchElasticsearchRuntimeConfigPersistenceUnit
-
-
Nested Class Summary
-
Method Summary
-
-
-
Method Detail
-
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,HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.ElasticsearchBackendRuntimeConfig> backends()
Configuration for backends.
-
schemaManagement
HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.SchemaManagementConfig 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
HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.IndexingConfig indexing()
Configuration for indexing.
-
automaticIndexing
@Deprecated HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.AutomaticIndexingConfig automaticIndexing()
Deprecated.Useindexing()
instead.Configuration for automatic indexing.
-
multiTenancy
HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.MultiTenancyConfig multiTenancy()
Configuration for multi-tenancy.
-
-