Interface HibernateSearchBackendElasticsearchRuntimeConfig
public interface HibernateSearchBackendElasticsearchRuntimeConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static enum
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionThe timeout when establishing a connection to an Elasticsearch server.Configuration for the automatic discovery of new Elasticsearch nodes.hosts()
The list of hosts of the Elasticsearch servers.The default configuration for the Elasticsearch indexes.indexes()
Per-index configuration overrides.layout()
Configuration for the index layout.int
The maximum number of connections to all the Elasticsearch servers.int
The maximum number of connections per Elasticsearch server.password()
The password used for authentication.protocol()
The protocol to use when contacting Elasticsearch servers.query()
Configuration for search queries to this backend.The timeout when reading responses from an Elasticsearch server.The timeout when executing a request to an Elasticsearch server.Configuration for the thread pool assigned to the backend.username()
The username used for authentication.Configuration for version checks on this backend.
-
Method Details
-
hosts
The list of hosts of the Elasticsearch servers. -
protocol
@WithDefault("http") HibernateSearchBackendElasticsearchRuntimeConfig.ElasticsearchClientProtocol protocol()The protocol to use when contacting Elasticsearch servers. Set to "https" to enable SSL/TLS. -
username
The username used for authentication. -
password
The password used for authentication. -
connectionTimeout
The timeout when establishing a connection to an Elasticsearch server. -
readTimeout
The timeout when reading responses from an Elasticsearch server. -
requestTimeout
The timeout when executing a request to an Elasticsearch server. This includes the time needed to wait for a connection to be available, send the request and read the response. -
maxConnections
@WithDefault("20") int maxConnections()The maximum number of connections to all the Elasticsearch servers. -
maxConnectionsPerRoute
@WithDefault("10") int maxConnectionsPerRoute()The maximum number of connections per Elasticsearch server. -
discovery
Configuration for the automatic discovery of new Elasticsearch nodes. -
threadPool
Configuration for the thread pool assigned to the backend. -
query
Configuration for search queries to this backend. -
versionCheck
Configuration for version checks on this backend. -
indexDefaults
The default configuration for the Elasticsearch indexes. -
indexes
@ConfigDocSection @ConfigDocMapKey("index-name") Map<String,HibernateSearchBackendElasticsearchRuntimeConfig.IndexConfig> indexes()Per-index configuration overrides. -
layout
Configuration for the index layout.
-