Class ElasticsearchBackendSpiSettings
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.cfg.spi.ElasticsearchBackendSpiSettings
-
public final class ElasticsearchBackendSpiSettings extends Object
Configuration properties for the Elasticsearch backend that are considered SPI (and not API).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElasticsearchBackendSpiSettings.Defaultsstatic classElasticsearchBackendSpiSettings.RadicalsConfiguration property keys without theprefix.
-
Field Summary
Fields Modifier and Type Field Description static StringBACKEND_WORK_EXECUTOR_PROVIDERTheElasticsearchWorkExecutorProviderused to create work executors.static StringCLIENT_INSTANCEAn external Elasticsearch client instance that Hibernate Search should use for all requests to Elasticsearch.static StringPREFIXThe prefix expected for the key of every Hibernate Search configuration property.
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
The prefix expected for the key of every Hibernate Search configuration property.- See Also:
- Constant Field Values
-
BACKEND_WORK_EXECUTOR_PROVIDER
public static final String BACKEND_WORK_EXECUTOR_PROVIDER
TheElasticsearchWorkExecutorProviderused to create work executors.Expects a reference to a bean of type
ElasticsearchWorkExecutorProvider.Defaults to
ElasticsearchBackendSpiSettings.Defaults.BACKEND_WORK_EXECUTOR_PROVIDER.- See Also:
- Constant Field Values
-
CLIENT_INSTANCE
public static final String 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.
-
-