elasticsearch

package
v0.0.0-...-204702d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_yandex_cloud_mdb_elasticsearch_v1_config_elasticsearch_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ElasticsearchConfig7

type ElasticsearchConfig7 struct {

	// 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).
	MaxClauseCount *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=max_clause_count,json=maxClauseCount,proto3" json:"max_clause_count,omitempty"`
	// 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).
	FielddataCacheSize string `protobuf:"bytes,4,opt,name=fielddata_cache_size,json=fielddataCacheSize,proto3" json:"fielddata_cache_size,omitempty"`
	// 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.
	ReindexRemoteWhitelist string `` /* 129-byte string literal not displayed */
	// 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)
	ReindexSslCaPath string `protobuf:"bytes,7,opt,name=reindex_ssl_ca_path,json=reindexSslCaPath,proto3" json:"reindex_ssl_ca_path,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*ElasticsearchConfig7) Descriptor deprecated

func (*ElasticsearchConfig7) Descriptor() ([]byte, []int)

Deprecated: Use ElasticsearchConfig7.ProtoReflect.Descriptor instead.

func (*ElasticsearchConfig7) GetFielddataCacheSize

func (x *ElasticsearchConfig7) GetFielddataCacheSize() string

func (*ElasticsearchConfig7) GetMaxClauseCount

func (x *ElasticsearchConfig7) GetMaxClauseCount() *wrapperspb.Int64Value

func (*ElasticsearchConfig7) GetReindexRemoteWhitelist

func (x *ElasticsearchConfig7) GetReindexRemoteWhitelist() string

func (*ElasticsearchConfig7) GetReindexSslCaPath

func (x *ElasticsearchConfig7) GetReindexSslCaPath() string

func (*ElasticsearchConfig7) ProtoMessage

func (*ElasticsearchConfig7) ProtoMessage()

func (*ElasticsearchConfig7) ProtoReflect

func (x *ElasticsearchConfig7) ProtoReflect() protoreflect.Message

func (*ElasticsearchConfig7) Reset

func (x *ElasticsearchConfig7) Reset()

func (*ElasticsearchConfig7) SetFielddataCacheSize

func (m *ElasticsearchConfig7) SetFielddataCacheSize(v string)

func (*ElasticsearchConfig7) SetMaxClauseCount

func (m *ElasticsearchConfig7) SetMaxClauseCount(v *wrapperspb.Int64Value)

func (*ElasticsearchConfig7) SetReindexRemoteWhitelist

func (m *ElasticsearchConfig7) SetReindexRemoteWhitelist(v string)

func (*ElasticsearchConfig7) SetReindexSslCaPath

func (m *ElasticsearchConfig7) SetReindexSslCaPath(v string)

func (*ElasticsearchConfig7) String

func (x *ElasticsearchConfig7) String() string

type ElasticsearchConfigSet7

type ElasticsearchConfigSet7 struct {

	// Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
	EffectiveConfig *ElasticsearchConfig7 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"`
	// User-defined settings for an Elasticsearch cluster.
	UserConfig *ElasticsearchConfig7 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"`
	// Default settings for an Elasticsearch cluster.
	DefaultConfig *ElasticsearchConfig7 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	// contains filtered or unexported fields
}

Elasticsearch 7.x data node configuration.

func (*ElasticsearchConfigSet7) Descriptor deprecated

func (*ElasticsearchConfigSet7) Descriptor() ([]byte, []int)

Deprecated: Use ElasticsearchConfigSet7.ProtoReflect.Descriptor instead.

func (*ElasticsearchConfigSet7) GetDefaultConfig

func (x *ElasticsearchConfigSet7) GetDefaultConfig() *ElasticsearchConfig7

func (*ElasticsearchConfigSet7) GetEffectiveConfig

func (x *ElasticsearchConfigSet7) GetEffectiveConfig() *ElasticsearchConfig7

func (*ElasticsearchConfigSet7) GetUserConfig

func (x *ElasticsearchConfigSet7) GetUserConfig() *ElasticsearchConfig7

func (*ElasticsearchConfigSet7) ProtoMessage

func (*ElasticsearchConfigSet7) ProtoMessage()

func (*ElasticsearchConfigSet7) ProtoReflect

func (x *ElasticsearchConfigSet7) ProtoReflect() protoreflect.Message

func (*ElasticsearchConfigSet7) Reset

func (x *ElasticsearchConfigSet7) Reset()

func (*ElasticsearchConfigSet7) SetDefaultConfig

func (m *ElasticsearchConfigSet7) SetDefaultConfig(v *ElasticsearchConfig7)

func (*ElasticsearchConfigSet7) SetEffectiveConfig

func (m *ElasticsearchConfigSet7) SetEffectiveConfig(v *ElasticsearchConfig7)

func (*ElasticsearchConfigSet7) SetUserConfig

func (m *ElasticsearchConfigSet7) SetUserConfig(v *ElasticsearchConfig7)

func (*ElasticsearchConfigSet7) String

func (x *ElasticsearchConfigSet7) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL