Skip to content

Commit 852a6de

Browse files
authored
Merge branch '9.0' into backport/9.0/pr-128823
2 parents 73e62f6 + 0d7a4eb commit 852a6de

File tree

25 files changed

+881
-14
lines changed

25 files changed

+881
-14
lines changed

README.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ For the complete Elasticsearch documentation visit
265265
https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html[elastic.co].
266266

267267
For information about our documentation processes, see the
268-
xref:docs/README.asciidoc[docs README].
268+
xref:https://github.com/elastic/elasticsearch/blob/main/docs/README.md[docs README].
269269

270270
[[examples]]
271271
== Examples and guides

docs/changelog/130924.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 130924
2+
summary: Check field data type before casting when applying geo distance sort
3+
area: Search
4+
type: bug
5+
issues:
6+
- 129500

docs/changelog/131032.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 131032
2+
summary: "Fix: `GET _synonyms` returns synonyms with empty rules"
3+
area: Relevance
4+
type: bug
5+
issues: []

docs/changelog/131081.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 131081
2+
summary: Fix knn search error when dimensions are not set
3+
area: Vector Search
4+
type: bug
5+
issues:
6+
- 129550
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
# Elasticsearch and index management
1+
# Elasticsearch
2+
3+
This section contains reference information for {{es}} and index management features.
4+
5+
To learn more about {{es}} features and how to get started, refer to the [{{es}}](docs-content://solutions/search.md) documentation.
6+
7+
For more details about query and scripting languages, check these sections:
8+
9+
* [Query languages](../query-languages/index.md)
10+
* [Scripting languages](../scripting-languages/index.md)
11+
12+
{{es}} also provides the following REST APIs:
13+
14+
* [{{es}} API](https://www.elastic.co/docs/api/doc/elasticsearch)
15+
* [{{es}} Serverless API](https://www.elastic.co/docs/api/doc/elasticsearch-serverless)

docs/reference/elasticsearch/rest-apis/index.md

Lines changed: 664 additions & 0 deletions
Large diffs are not rendered by default.

docs/reference/elasticsearch/rest-apis/retrievers.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ See also [this hybrid search example](docs-content://solutions/search/retrievers
291291
`rank_window_size`
292292
: (Optional, integer)
293293

294-
This value determines the size of the individual result sets per query. A higher value will improve result relevance at the cost of performance. The final ranked result set is pruned down to the search request’s [size](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#search-size-param). `rank_window_size` must be greater than or equal to `size` and greater than or equal to `1`. Defaults to the `size` parameter.
294+
This value determines the size of the individual result sets per query.
295+
A higher value will improve result relevance at the cost of performance.
296+
The final ranked result set is pruned down to the search request’s [size](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#search-size-param). `rank_window_size` must be greater than or equal to `size` and greater than or equal to `1`.
297+
Defaults to 10.
295298

296299

297300
`filter`
@@ -323,7 +326,10 @@ An [RRF](/reference/elasticsearch/rest-apis/reciprocal-rank-fusion.md) retriever
323326
`rank_window_size`
324327
: (Optional, integer)
325328

326-
This value determines the size of the individual result sets per query. A higher value will improve result relevance at the cost of performance. The final ranked result set is pruned down to the search request’s [size](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#search-size-param). `rank_window_size` must be greater than or equal to `size` and greater than or equal to `1`. Defaults to the `size` parameter.
329+
This value determines the size of the individual result sets per query.
330+
A higher value will improve result relevance at the cost of performance.
331+
The final ranked result set is pruned down to the search request’s [size](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#search-size-param). `rank_window_size` must be greater than or equal to `size` and greater than or equal to `1`.
332+
Defaults to 10.
327333

328334

329335
`filter`

docs/reference/query-languages/esql/limitations.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,3 +254,6 @@ Work around this limitation by converting the field to single value with one of
254254
* CSV export from Discover shows no more than 10,000 rows. This limit only applies to the number of rows that are retrieved by the query and displayed in Discover. Queries and aggregations run on the full data set.
255255
* Querying many indices at once without any filters can cause an error in kibana which looks like `[esql] > Unexpected error from Elasticsearch: The content length (536885793) is bigger than the maximum allowed string (536870888)`. The response from {{esql}} is too long. Use [`DROP`](/reference/query-languages/esql/commands/processing-commands.md#esql-drop) or [`KEEP`](/reference/query-languages/esql/commands/processing-commands.md#esql-keep) to limit the number of fields returned.
256256

257+
## Known issues [esql-known-issues]
258+
259+
Refer to [Known issues](/release-notes/known-issues.md) for a list of known issues for {{esql}}.

docs/release-notes/known-issues.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,12 @@ This issue will be fixed in a future patch release (see [PR #126990](https://git
3434
DELETE _index_template/.watches
3535
POST /_watcher/_start
3636
```
37+
38+
* A bug in the ES|QL STATS command may yield incorrect results. The bug only happens in very specific cases that follow this pattern: `STATS ... BY keyword1, keyword2`, i.e. the command must have exactly two grouping fields, both keywords, where the first field has high cardinality (more than 65k distinct values).
39+
40+
The bug is described in detail in [this issue](https://github.com/elastic/elasticsearch/issues/130644).
41+
The problem was introduced in 8.16.0 and [fixed](https://github.com/elastic/elasticsearch/pull/130705) in 8.17.9, 8.18.7, 9.0.4.
42+
43+
Possible workarounds include:
44+
* switching the order of the grouping keys (eg. `STATS ... BY keyword2, keyword1`, if the `keyword2` has a lower cardinality)
45+
* reducing the grouping key cardinality, by filtering out values before STATS

muted-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ tests:
282282
- class: org.elasticsearch.index.engine.ThreadPoolMergeExecutorServiceDiskSpaceTests
283283
method: testUnavailableBudgetBlocksNewMergeTasksFromStartingExecution
284284
issue: https://github.com/elastic/elasticsearch/issues/130205
285+
- class: org.elasticsearch.packaging.test.DockerTests
286+
method: test080ConfigurePasswordThroughEnvironmentVariableFile
287+
issue: https://github.com/elastic/elasticsearch/issues/128075
285288

286289
# Examples:
287290
#

0 commit comments

Comments
 (0)