Repository navigation
Expand file tree
/
Copy pathelasticsearch.yml.example
More file actions
133 lines (133 loc) · 4.88 KB
/
Copy pathelasticsearch.yml.example
File metadata and controls
133 lines (133 loc) · 4.88 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
## ================== Crawler Configuration - Elasticsearch ====================
#
## Elasticsearch connection settings. These can be defined individually
## for a crawl in the crawl config file.
#
## NOTE: Most Crawler configurations comes with reasonable defaults.
## Before adjusting the configuration, make sure you understand what you
## are trying to accomplish and the consequences.
#
## ------------------------------- Elasticsearch -------------------------------
#
## The url (with scheme and port) or the hostname / IP address of the Elasticsearch deployment.
## If your Elasticsearch is running on Docker and is on the same machine as
## Crawler, this value might be `host.docker.internal`
#elasticsearch.host: https://localhost:9200
#
#
## The port of the Elasticsearch deployment host. Only needed if you do not provide the port in the host url.
#elasticsearch.port: 9200
#
#
## The encoded API key for Elasticsearch connection.
## Using `api_key` is recommended instead of `username`/`password`. Ensure
## this API key has read and write access to the configured `output_index`
## in the Crawler config. The api key can be read from the environment
## using <%= ENV['ES_API_KEY'] %>
#elasticsearch.api_key: 1234
#
#
## The username for the Elasticsearch connection.
## Using `username` requires `password` to also be configured.
## However, `elasticsearch.api_key` is the recommended configuration choice.
#elasticsearch.username: elastic
#
#
## The password for the Elasticsearch connection.
## Using `password` requires `username` to also be configured. However,
## `elasticsearch.api_key` is the recommended configuration choice. The
## password can be read from the environment using <%= ENV['ES_PASSWORD'] %>
#elasticsearch.password: changeme
#
#
## ---------------------------- SSL Configuration -----------------------------
#
## Controls whether SSL certificate verification is enabled. Defaults to true.
## Setting to false disables all SSL verification (insecure, use with caution).
#elasticsearch.ssl_verify: true
#
#
## Path to a trusted CA certificate for SSL verification.
## Use this when connecting to an Elasticsearch instance with a self-signed certificate
## or a certificate signed by a private CA.
#elasticsearch.ca_file: /path/to/your/ca.crt
#
#
## Path to a directory containing trusted CA certificates for SSL verification.
## Use this when connecting to an Elasticsearch instance with a self-signed certificate
## or a certificate signed by a private CA.
#elasticsearch.ca_path: /path/to/your/ca/certs
#
#
## The SHA256 CA cert fingerprint used to verify SSL connection to Elasticsearch.
## SSL usage is typically inferred by the client based on the port (e.g., 9200 vs 443) or explicit SSL settings.
#elasticsearch.ca_fingerprint: null
#
#
## ------------------------------- Client Behavior --------------------------------
#
#
## Request timeout in seconds for individual Elasticsearch requests.
## Default: 10
#elasticsearch.request_timeout: 10
#
#
## Number of retries on failure (e.g., 3), or false/0 to disable retries.
## If set to `true`, it defaults to 3 retries.
## Default: 3
#elasticsearch.retry_on_failure: 3
#
#
## The amount of time, in seconds, to wait before the first retry after a failed
## Elasticsearch request. Each subsequent retry doubles this wait time, so a value of
## `2` produces a backoff sequence of 2s, 4s, 8s, ...
## Default: 2
#elasticsearch.delay_on_retry: 10
#
#
## Whether to reload connections (refresh node list) after a connection failure.
## Default: false
#elasticsearch.reload_on_failure: false
#
#
## Enable gzip compression for requests sent to Elasticsearch.
## Defaults to `true` if not specified. Set to `false` to disable.
#elasticsearch.compression: true
#
#
## ------------------------------- Bulk API -----------------------------------
#
## The max size of the bulk queue
#elasticsearch.bulk_api.max_items: 10
#
#
## The max size in bytes of the bulk queue.
## When it's reached, the Crawler performs a bulk index request to
## Elasticsearch, and the queue is flushed
#elasticsearch.bulk_api.max_size_bytes: 1_048_576
#
#
## ------------------------------- Pipelines ----------------------------------
#
#
## The name of the ingest pipeline
## If pipelines are enabled and this value is `null`,
## the pipeline `ent-search-generic-ingestion` will be used
#elasticsearch.pipeline: ent-search-generic-ingestion
#
#
## Whether or not pipelines are enabled
#elasticsearch.pipeline_enabled: true
#
#
## Enable for the pipeline to reduce whitespace on indexed docs
#elasticsearch.pipeline_params._reduce_whitespace: true
#
#
## Enable for the pipeline to run ML inference on indexed docs
#elasticsearch.pipeline_params._run_ml_inference: true
#
#
## Enable for the pipeline to extract binary content from
## the `_attachment` field of an indexed doc
#elasticsearch.pipeline_params._extract_binary_content: true