1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/// Elasticsearch 7.x supported configuration options are listed here.
///
/// Detailed description for each set of options is available in [Elasticsearch documentation](<https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html>).
///
/// Any options that are not listed here are not supported.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ElasticsearchConfig7 {
/// The maximum number of clauses a boolean query can contain.
///
/// The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
/// It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
///
/// Default value: `1024`.
///
/// See in-depth description in [Elasticsearch documentation](<https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html>).
#[prost(message, optional, tag = "3")]
pub max_clause_count: ::core::option::Option<i64>,
/// The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
///
/// All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
/// Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
///
/// Default value: unbounded.
///
/// See in-depth description in [Elasticsearch documentation](<https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html>).
#[prost(string, tag = "4")]
pub fielddata_cache_size: ::prost::alloc::string::String,
/// Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
/// It can be set to a comma delimited list of allowed remote host and port combinations.
/// Scheme is ignored, only the host and port are used.
#[prost(string, tag = "6")]
pub reindex_remote_whitelist: ::prost::alloc::string::String,
/// List of paths to PEM encoded certificate files that should be trusted.
///
/// See in-depth description in [Elasticsearch documentation](<https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl>)
#[prost(string, tag = "7")]
pub reindex_ssl_ca_path: ::prost::alloc::string::String,
}
/// Elasticsearch 7.x data node configuration.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ElasticsearchConfigSet7 {
/// Effective settings for an Elasticsearch cluster (a combination of settings defined in \[user_config\] and \[default_config\]).
#[prost(message, optional, tag = "1")]
pub effective_config: ::core::option::Option<ElasticsearchConfig7>,
/// User-defined settings for an Elasticsearch cluster.
#[prost(message, optional, tag = "2")]
pub user_config: ::core::option::Option<ElasticsearchConfig7>,
/// Default settings for an Elasticsearch cluster.
#[prost(message, optional, tag = "3")]
pub default_config: ::core::option::Option<ElasticsearchConfig7>,
}