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.
-
defaultBackend
@WithName("elasticsearch") @ConfigDocSection HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.ElasticsearchBackendRuntimeConfig defaultBackend()
Default backend
-
namedBackends
@WithName("elasticsearch") @ConfigDocSection HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.ElasticsearchNamedBackendsRuntimeConfig namedBackends()
Named 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.
-
automaticIndexing
HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.AutomaticIndexingConfig automaticIndexing()
Configuration for the automatic indexing.
-
multiTenancy
HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.MultiTenancyConfig multiTenancy()
Configuration for multi-tenancy.
-
getAllBackendConfigsAsMap
default Map<String,HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.ElasticsearchBackendRuntimeConfig> getAllBackendConfigsAsMap()
-
-