Class ElasticsearchBackendSpiSettings
java.lang.Object
org.hibernate.search.backend.elasticsearch.cfg.spi.ElasticsearchBackendSpiSettings
Configuration properties for the Elasticsearch backend that are considered SPI (and not API).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static class
Configuration property keys without theprefix
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
TheElasticsearchWorkExecutorProvider
used to create work executors.static final String
An external Elasticsearch client instance that Hibernate Search should use for all requests to Elasticsearch.static final String
The prefix expected for the key of every Hibernate Search configuration property. -
Method Summary
-
Field Details
-
PREFIX
The prefix expected for the key of every Hibernate Search configuration property.- See Also:
-
BACKEND_WORK_EXECUTOR_PROVIDER
TheElasticsearchWorkExecutorProvider
used to create work executors.Expects a reference to a bean of type
ElasticsearchWorkExecutorProvider
.Defaults to
ElasticsearchBackendSpiSettings.Defaults.BACKEND_WORK_EXECUTOR_PROVIDER
.- See Also:
-
CLIENT_INSTANCE
An external Elasticsearch client instance that Hibernate Search should use for all requests to Elasticsearch.If this is set, Hibernate Search will not attempt to create its own Elasticsearch, and all other client-related configuration properties (hosts/uris, authentication, discovery, timeouts, max connections, configurer, ...) will be ignored.
Expects a reference to a bean of type
RestClient
.Defaults to nothing: if no client instance is provided, Hibernate Search will create its own.
WARNING - Incubating API: the underlying client class may change without prior notice.
-