Configuration Reference

Version:5.7.0

Micronaut Elasticsearch Config Properties

🔗
Table 1. Configuration Properties for DefaultElasticsearchConfigurationProperties
Property Type Description

elasticsearch.http-hosts

org.apache.http.HttpHost

One or more hosts that client will connect to.

elasticsearch.default-headers

org.apache.http.Header

The defaults {@link Header} to sent with each request.

elasticsearch.max-retry-timeout-millis

int

The maximum retry timeout in millis.

elasticsearch.node-selector

org.elasticsearch.client.NodeSelector

The {@link NodeSelector} to be used, in case of multiple nodes.

elasticsearch.request.default.expect-continue-enabled

boolean

elasticsearch.request.default.proxy

org.apache.http.HttpHost

elasticsearch.request.default.local-address

java.net.InetAddress

elasticsearch.request.default.cookie-spec

java.lang.String

elasticsearch.request.default.redirects-enabled

boolean

elasticsearch.request.default.relative-redirects-allowed

boolean

elasticsearch.request.default.circular-redirects-allowed

boolean

elasticsearch.request.default.max-redirects

int

elasticsearch.request.default.authentication-enabled

boolean

elasticsearch.request.default.target-preferred-auth-schemes

java.util.Collection

elasticsearch.request.default.proxy-preferred-auth-schemes

java.util.Collection

elasticsearch.request.default.connection-request-timeout

int

elasticsearch.request.default.connect-timeout

int

elasticsearch.request.default.socket-timeout

int

elasticsearch.request.default.content-compression-enabled

boolean

elasticsearch.request.default.normalize-uri

boolean

elasticsearch.http-async-client-builder

org.apache.http.impl.nio.client.HttpAsyncClientBuilder