Перейти к основному содержимому

ElasticSearchClientServiceImpl

Описание

Служба контроллера для доступа к клиенту Elasticsearch, использующая клиент Elasticsearch (низкоуровневый) REST.

Теги

elasticsearch, elasticsearch6, elasticsearch7, elasticsearch8, client

Свойства

НазваниеОписание
HTTP HostsA comma-separated list of HTTP hosts that host Elasticsearch query nodes. Note that the Host is included in requests as a header (typically including domain and port, e.g. elasticsearch:9200). Поддерживает язык выражений: true (будет оцениваться только с использованием переменных среды)
Path PrefixSets the path's prefix for every request used by the http client. For example, if this is set to "/my/path", then any client request will become "/my/path/" + endpoint. In essence, every request's endpoint is prefixed by this pathPrefix. The path prefix is useful for when Elasticsearch is behind a proxy that provides a base path or a proxy that requires all paths to start with '/'; it is not intended for other purposes and it should not be supplied in other scenarios
Authorization SchemeAuthorization Scheme used for optional authentication to Elasticsearch.
UsernameThe username to use with XPack security. Поддерживает язык выражений: true (будет оцениваться только с использованием переменных среды)This Property is only considered if the [Authorization Scheme] Property has a value of "Basic".
PasswordThe password to use with XPack security. Чувствительный параметр: true Поддерживает язык выражений: true (будет оцениваться только с использованием переменных среды)This Property is only considered if the [Authorization Scheme] Property has a value of "Basic".
API Key IDUnique identifier of the API key.This Property is only considered if the [Authorization Scheme] Property has a value of "API Key".
API KeyEncoded API key. Чувствительный параметр: trueThis Property is only considered if the [Authorization Scheme] Property has a value of "API Key".
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL connections. This service only applies if the Elasticsearch endpoint(s) have been secured with TLS/SSL.
Proxy Configuration ServiceSpecifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP
Connect timeoutControls the amount of time, in milliseconds, before a timeout occurs when trying to connect.
Read timeoutControls the amount of time, in milliseconds, before a timeout occurs when waiting for a response.
CharsetThe charset to use for interpreting the response from Elasticsearch.
Suppress Null/Empty ValuesSpecifies how the writer should handle null and empty fields (including objects and arrays)
Enable CompressionWhether the REST client should compress requests using gzip content encoding and add the "Accept-Encoding: gzip" header to receive compressed responses
Send Meta HeaderWhether to send a "X-Elastic-Client-Meta" header that describes the runtime environment. It contains information that is similar to what could be found in User-Agent. Using a separate header allows applications to use User-Agent for their own needs, e.g. to identify application version or other environment information
Strict DeprecationWhether the REST client should return any response containing at least one warning header as a failure
Node SelectorSelects Elasticsearch nodes that can receive requests. Used to keep requests away from dedicated Elasticsearch master nodes
Sniff Cluster NodesPeriodically sniff for nodes within the Elasticsearch cluster via the Elasticsearch Node Info API. If Elasticsearch security features are enabled (default to "true" for 8.x+), the Elasticsearch user must have the "monitor" or "manage" cluster privilege to use this API.Note that all HTTP Hosts (and those that may be discovered within the cluster using the Sniffer) must use the same protocol, e.g. http or https, and be contactable using the same client settings. Finally the Elasticsearch "network.publish_host" must match one of the "network.bind_host" list entries see https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html for more information
Sniffer IntervalInterval between Cluster sniffer operationsThis Property is only considered if the [Sniff Cluster Nodes] Property has a value of "true".
Sniffer Request TimeoutCluster sniffer timeout for node info requestsThis Property is only considered if the [Sniff Cluster Nodes] Property has a value of "true".
Sniff on FailureEnable sniffing on failure, meaning that after each failure the Elasticsearch nodes list gets updated straightaway rather than at the following ordinary sniffing roundThis Property is only considered if the [Sniff Cluster Nodes] Property has a value of "true".
Sniffer Failure DelayDelay between an Elasticsearch request failure and updating available Cluster nodes using the SnifferThis Property is only considered if the [Sniff on Failure] Property has a value of "true".