You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy-manage/security/updating-certificates.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Regardless of the scenario, {{es}} monitors the SSL resources for updates by def
23
23
24
24
Because {{es}} doesn’t reload the `elasticsearch.yml` configuration, you must use **the same file names** if you want to take advantage of automatic certificate and key reloading.
25
25
26
-
If you need to update the `elasticsearch.yml`](/deploy-manage/stack-settings.md) configuration or change passwords for keys or keystores that are stored in the [secure settings](secure-settings.md), then you must complete a [rolling restart](#use-rolling-restarts). {{es}} will not automatically reload changes for passwords stored in the secure settings.
26
+
If you need to update the [`elasticsearch.yml`](/deploy-manage/stack-settings.md) configuration or change passwords for keys or keystores that are stored in the [secure settings](secure-settings.md), then you must complete a [rolling restart](#use-rolling-restarts). {{es}} will not automatically reload changes for passwords stored in the secure settings.
Copy file name to clipboardExpand all lines: deploy-manage/upgrade/deployment-or-cluster/reading-indices-from-older-elasticsearch-versions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ products:
9
9
10
10
# Reading indices from older {{es}} versions [archive-indices]
11
11
12
-
{{es}} has full query and write support for indices created in the previous major version. If you have indices created in {{es}} versions 5or 6, you can use the archive functionality to import them into newer {{es}} versions as well.
12
+
{{es}} has full query and write support for indices created in the previous major version. If you have indices created in {{es}} versions 5, 6, or 7, you can use the archive functionality to import them into newer {{es}} versions as well.
13
13
14
14
The archive functionality provides slower read-only access to older {{es}} data, for compliance or regulatory reasons, the occasional lookback or investigation, or to rehydrate parts of it. Access to the data is expected to be infrequent, and can therefore happen with limited performance and query capabilities.
15
15
@@ -50,7 +50,7 @@ Due to `_source` access, the data can also be [reindexed](https://www.elastic.co
Copy file name to clipboardExpand all lines: explore-analyze/_snippets/global-filters.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
You can interact with filter pills to edit them, temporarily alter their behavior without having to delete them, or make them available in other contexts. The following options are available when selecting a filter pill:
1
+
You can interact with filter pills to edit them, temporarily alter their behavior without having to remove them, or make them available in other contexts. The following options are available when selecting a filter pill:
2
2
3
3
**Pin across all apps** and **Unpin**
4
-
: Adds this filter to available dashboards and to apps such as **Discover**, **Lens**, **Maps**, and **Visualize**. The filter is removed if you:
4
+
: Adds this filter to available dashboards and to apps such as **Discover**, **Lens**, **Maps**, and **Visualize**. You remove the filter if you:
5
5
* Unpin it. In this case, the filter only remains on the currently open app, unpinned.
6
6
* Remove it from any place while it's still pinned.
7
7
* Refresh your session, for example by opening a dashboard in a new tab. Pinned filters are not saved along with the dashboard, visualization, or Discover session that you added them to.
@@ -17,9 +17,9 @@ You can interact with filter pills to edit them, temporarily alter their behavio
17
17
: Reverses the filter behavior.
18
18
19
19
**Temporarily disable** and **Re-enable**
20
-
: Lets you temporarily disable a filter instead of requiring you to delete it. This is particularly useful for testing different filter combinations.
20
+
: Lets you temporarily deactivate a filter instead of requiring you to remove it. This is particularly useful for testing different filter combinations.
21
21
22
22
**Delete**
23
-
: Deletes the filter.
23
+
: Removes the filter.
24
24
25
25
You can perform most of these actions at once for all filters in your current view using the **Filter** icon {icon}`filter`. From the menu that opens, select **Apply to all**, then choose the action you'd like to perform.
Copy file name to clipboardExpand all lines: explore-analyze/_snippets/inspect-request.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
The request **Inspector** is available in **Discover** and for all **Dashboards** visualization panels that are built based on a query. The available information can differ based on the request.
1
+
The request **Inspector** is available in **Discover** and for all **Dashboards** visualization panels that are built from a query. The available information can differ based on the request.
2
2
3
3
1. Open the **Inspector**:
4
4
- If you're in **Discover**, select **Inspect** from the application's toolbar.
@@ -8,7 +8,7 @@ The request **Inspector** is available in **Discover** and for all **Dashboards*
8
8
:::{tip}
9
9
Some visualizations rely on several requests. From the dropdown, select the request you want to inspect.
10
10
:::
11
-
***Statistics**: Provides general information and statistics about the request. For example, you can check if the number of hits and query time match your expectations. If not, this may indicate an issue with the request used to build the visualization.
11
+
***Statistics**: Provides general information and statistics about the request. For example, you can check if the number of hits and query time match your expectations. If not, this can indicate an issue with the request used to build the visualization.
12
12
***Clusters and shards**: Lists the {{es}} clusters and shards per cluster queried to fetch the data and shows the status of the request on each of them. With the information in this tab, you can check if the request is properly executed, especially in case of cross-cluster search.
Copy file name to clipboardExpand all lines: explore-analyze/_snippets/variable-control-procedure.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
1. While you edit your {{esql}} query, the autocomplete menu suggests adding a control when relevant or when you type `?` in the query. Select **Create control**.
2
2
3
-

3
+

4
4
5
5
2. A menu opens to let you configure the control. This is where you can specify:
6
6
7
7
* The type of the control.
8
8
* For controls with **Static values**, enter available controls manually or select them from the dropdown list.
9
9
* For controls with **Values from a query**, write an {{esql}} query to populate the list of options.
10
-
* The name of the control. This name is used to reference the control in {{esql}} queries.
10
+
* The name of the control. You use this name to reference the control in {{esql}} queries.
11
11
* Start the name with `?` if you want the options to be simple static values.
12
12
* Start the name with `??` if you want the options to be fields or functions. {applies_to}`stack: ga 9.1`
13
13
* The values users can select for this control. You can add multiple values from suggested fields, or type in custom values. If you selected **Values from a query**, you must instead write an {{esql}} query at this step.
14
14
* The label of the control. This is the label displayed in **Discover** or in the dashboard.
15
15
* The width of the control.
16
16
* Whether the control should allow selecting a single value or multiple values. This [requires using the `MV_CONTAINS` function in your query](#esql-multi-values-controls). {applies_to}`stack: preview 9.3` {applies_to}`serverless: preview`
17
17
18
-

18
+

Copy file name to clipboardExpand all lines: explore-analyze/discover/discover-get-started.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ You can later filter the data that shows in the chart and in the table by specif
87
87
88
88
**Discover** provides utilities designed to help you make sense of your data:
89
89
90
-
1. In the sidebar, check the available fields. It’s very common to have hundreds of fields. Use the search at the top of that sidebar to look for specific terms in the field names.
90
+
1. In the sidebar, check the available fields. It's common to have hundreds of fields. Use the search at the top of that sidebar to look for specific terms in the field names.
91
91
In this example, we’ve entered `ma` in the search field to find the `manufacturer` field.
92
92

93
93
::::{tip}
@@ -237,7 +237,7 @@ Dive into an individual document to view its fields and the documents that occur
Youcanrestrictthefieldslistedinthedetailedviewtojustthefieldsthatyouexplicitlyaddedtothe**Discover**table, usingthe**Selectedonly**toggle. InES|QLmode, youalsohaveanoptiontohidefieldswithnullvalues. Thistoggleisn't available from the **View single document** page.
240
+
Youcanrestrictthefieldslistedinthedetailedviewtothefieldsthatyouexplicitlyaddedtothe**Discover**table, usingthe**Selectedonly**toggle. InES|QLmode, youalsohaveanoptiontohidefieldswithnullvalues. Thistoggleisn't available from the **View single document** page.
Copy file name to clipboardExpand all lines: explore-analyze/elastic-inference/inference-api.md
+60-6Lines changed: 60 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,11 +161,64 @@ PUT _inference/sparse_embedding/word_chunks
161
161
stack: ga 9.1
162
162
```
163
163
164
-
The `recursive` strategy splits the input text based on a configurable list of separator patterns (for example, newlines or Markdown headers). The chunker applies these separators in order, recursively splitting any chunk that exceeds the `max_chunk_size` word limit. If no separator produces a small enough chunk, the strategy falls back to sentence-level splitting.
164
+
The `recursive` strategy splits the input text based on a configurable list of separator patterns, such as paragraph boundaries or Markdown structural elements like headings and horizontal rules. The chunker applies these separators in order, recursively splitting any chunk that exceeds the `max_chunk_size` word limit. If no separator produces a small enough chunk, the strategy falls back to [sentence-level splitting](#sentence).
165
165
166
-
##### Markdown separator group
166
+
You can configure the `recursive` strategy using either:
167
+
-[Predefined separator groups](#separator-groups): [`Plaintext`](#plaintext) or [`markdown`](#markdown)
168
+
-[Custom separators](#custom-separators): Define your own regular expression patterns
167
169
168
-
The following example creates an {{infer}} endpoint with the `elasticsearch` service that deploys the ELSER model and configures chunking with the `recursive` strategy using the markdown separator group and a maximum of 200 words per chunk.
170
+
##### Predefined separator groups [separator-groups]
171
+
172
+
Predefined separator groups provide optimized patterns for common text formats: [`plaintext`](#plaintext) works for simple line-structured text without markup, and [`markdown`](#markdown) works for Markdown-formatted content.
173
+
174
+
###### `plaintext`
175
+
176
+
The `plaintext` separator group splits text at paragraph boundaries, first attempting to split on double newlines (paragraph breaks), then falling back to single newlines when chunks are still too large.
177
+
178
+
:::{dropdown} Regular expression patterns for the `plaintext` separator group
179
+
180
+
1.`(?<!\\n)\\n\\n(?!\\n)`: Splits on consecutive newlines that indicate paragraph breaks.
181
+
2.`(?<!\\n)\\n(?!\\n)`: Splits on single newlines when double newlines don't produce small enough chunks.
182
+
183
+
:::
184
+
185
+
The following example configures chunking with the `recursive` strategy using the `plaintext` separator group and a maximum of 200 words per chunk.
186
+
187
+
```console
188
+
PUT _inference/sparse_embedding/recursive_plaintext_chunks
189
+
{
190
+
"service": "elasticsearch",
191
+
"service_settings": {
192
+
"model_id": ".elser_model_2",
193
+
"num_allocations": 1,
194
+
"num_threads": 1
195
+
},
196
+
"chunking_settings": {
197
+
"strategy": "recursive",
198
+
"max_chunk_size": 200,
199
+
"separator_group": "plaintext"
200
+
}
201
+
}
202
+
```
203
+
204
+
###### `markdown`
205
+
206
+
The `markdown` separator group splits text based on Markdown structural elements, processing separators hierarchically from highest to lowest level: H1 through H6 headings, then horizontal rules.
207
+
208
+
:::{dropdown} Regular expression patterns for the `markdown` separator group
209
+
210
+
1.`\n# `: Splits on level 1 headings (H1).
211
+
2.`\n## `: Splits on level 2 headings (H2).
212
+
3.`\n### `: Splits on level 3 headings (H3).
213
+
4.`\n#### `: Splits on level 4 headings (H4).
214
+
5.`\n##### `: Splits on level 5 headings (H5).
215
+
6.`\n###### `: Splits on level 6 headings (H6).
216
+
7.`\n^(?!\\s*$).*\\n-{1,}\\n`: Splits on horizontal rules created with hyphens.
217
+
8.`\n^(?!\\s*$).*\\n={1,}\\n`: Splits on horizontal rules created with equals signs.
218
+
219
+
:::
220
+
221
+
The following example configures chunking with the `recursive` strategy using the `markdown` separator group and a maximum of 200 words per chunk.
169
222
170
223
```console
171
224
PUT _inference/sparse_embedding/recursive_markdown_chunks
@@ -184,10 +237,9 @@ PUT _inference/sparse_embedding/recursive_markdown_chunks
184
237
}
185
238
```
186
239
187
-
##### Custom separator group
188
-
189
-
The following example creates an {{infer}} endpoint with the `elasticsearch` service that deploys the ELSER model and configures chunking with the `recursive` strategy. It uses a custom list of separators to split plaintext into chunks of up to 180 words.
240
+
##### Custom separators
190
241
242
+
If the [predefined separator groups](#separator-groups) don't meet your needs, you can define custom separators using regular expressions. The following example configures chunking with the `recursive` strategy using a custom list of separators to split text into chunks of up to 180 words.
191
243
192
244
```console
193
245
PUT _inference/sparse_embedding/recursive_custom_chunks
@@ -236,3 +288,5 @@ PUT _inference/sparse_embedding/none_chunking
0 commit comments