Skip to content

Commit c1c2a44

Browse files
Forward port release notes for v8.15.3 (#115029)
1 parent 5bb28e7 commit c1c2a44

File tree

3 files changed

+115
-0
lines changed

3 files changed

+115
-0
lines changed

docs/reference/release-notes.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
This section summarizes the changes in each release.
88

99
* <<release-notes-8.16.0>>
10+
* <<release-notes-8.15.3>>
1011
* <<release-notes-8.15.2>>
1112
* <<release-notes-8.15.1>>
1213
* <<release-notes-8.15.0>>
@@ -74,6 +75,7 @@ This section summarizes the changes in each release.
7475
--
7576

7677
include::release-notes/8.16.0.asciidoc[]
78+
include::release-notes/8.15.3.asciidoc[]
7779
include::release-notes/8.15.2.asciidoc[]
7880
include::release-notes/8.15.1.asciidoc[]
7981
include::release-notes/8.15.0.asciidoc[]
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
[[release-notes-8.15.3]]
2+
== {es} version 8.15.3
3+
4+
Also see <<breaking-changes-8.15,Breaking changes in 8.15>>.
5+
6+
[[bug-8.15.3]]
7+
[float]
8+
=== Bug fixes
9+
10+
Aggregations::
11+
* Don't validate internal stats if they are empty {es-pull}113846[#113846] (issue: {es-issue}113811[#113811])
12+
* Fix `needsScore` computation in `GlobalOrdCardinalityAggregator` {es-pull}113129[#113129] (issue: {es-issue}112975[#112975])
13+
14+
Authentication::
15+
* Enables cluster state role mapper, to include ECK operator-defined role mappings in role resolution {es-pull}114337[#114337]
16+
17+
ES|QL::
18+
* ES|QL: Ensure minimum capacity for `PlanStreamInput` caches {es-pull}114116[#114116]
19+
* ES|QL: Skip CASE function from `InferIsNotNull` rule checks {es-pull}113123[#113123] (issue: {es-issue}112704[#112704])
20+
* [ESQL] Fix init value in max float aggregation {es-pull}113699[#113699]
21+
* [ESQL] Support datetime data type in Least and Greatest functions {es-pull}113961[#113961]
22+
23+
Machine Learning::
24+
* Fix check on E5 model platform compatibility {es-pull}113437[#113437] (issue: {es-issue}113577[#113577])
25+
* Handle parsing ingest processors where definition is not a object {es-pull}113697[#113697] (issue: {es-issue}113615[#113615])
26+
* [ML][backport] Warn for model load failures if they have a status code <500 {es-pull}113410[#113410]
27+
* [M] Fix error message formatting {es-pull}113266[#113266]
28+
29+
Search::
30+
* Fix analyzed wildcard query in simple_query_string when disjunctions is empty {es-pull}114264[#114264] (issue: {es-issue}114185[#114185])
31+
* Fix collapse interaction with stored fields {es-pull}112761[#112761] (issue: {es-issue}112646[#112646])
32+
33+
[[enhancement-8.15.3]]
34+
[float]
35+
=== Enhancements
36+
37+
Machine Learning::
38+
* Write downloaded model parts async {es-pull}111684[#111684]
39+
40+
[[upgrade-8.15.3]]
41+
[float]
42+
=== Upgrades
43+
44+
Snapshot/Restore::
45+
* Upgrade protobufer to 3.25.5 {es-pull}113869[#113869]
46+
47+

docs/reference/release-notes/highlights.asciidoc

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,31 @@ index codec best compression. (#112665)
102102

103103
{es-pull}112857[#112857]
104104

105+
[discrete]
106+
[[esql_introduce_per_agg_filter]]
107+
=== ESQL: Introduce per agg filter
108+
Add support for aggregation scoped filters that work dynamically on the
109+
data in each group.
110+
111+
[source,esql]
112+
----
113+
| STATS success = COUNT(*) WHERE 200 <= code AND code < 300,
114+
redirect = COUNT(*) WHERE 300 <= code AND code < 400,
115+
client_err = COUNT(*) WHERE 400 <= code AND code < 500,
116+
server_err = COUNT(*) WHERE 500 <= code AND code < 600,
117+
total_count = COUNT(*)
118+
----
119+
120+
Implementation wise, the base AggregateFunction has been extended to
121+
allow a filter to be passed on. This is required to incorporate the
122+
filter as part of the aggregate equality/identity which would fail with
123+
the filter as an external component.
124+
As part of the process, the serialization for the existing aggregations
125+
had to be fixed so AggregateFunction implementations so that it
126+
delegates to their parent first.
127+
128+
{es-pull}113735[#113735]
129+
105130
// end::notable-highlights[]
106131

107132

@@ -131,3 +156,44 @@ field is first combined into a single geometry before performing the predicate c
131156

132157
{es-pull}112063[#112063]
133158

159+
[discrete]
160+
[[enhance_sort_push_down_to_lucene_to_cover_references_to_fields_st_distance_function]]
161+
=== Enhance SORT push-down to Lucene to cover references to fields and ST_DISTANCE function
162+
The most used and likely most valuable geospatial search query in Elasticsearch is the sorted proximity search,
163+
finding items within a certain distance of a point of interest and sorting the results by distance.
164+
This has been possible in ES|QL since 8.15.0, but the sorting was done in-memory, not pushed down to Lucene.
165+
Now the sorting is pushed down to Lucene, which results in a significant performance improvement.
166+
167+
Queries that perform both filtering and sorting on distance are supported. For example:
168+
169+
[source,esql]
170+
----
171+
FROM test
172+
| EVAL distance = ST_DISTANCE(location, TO_GEOPOINT("POINT(37.7749, -122.4194)"))
173+
| WHERE distance < 1000000
174+
| SORT distance ASC, name DESC
175+
| LIMIT 10
176+
----
177+
178+
In addition, the support for sorting on EVAL expressions has been extended to cover references to fields:
179+
180+
[source,esql]
181+
----
182+
FROM test
183+
| EVAL ref = field
184+
| SORT ref ASC
185+
| LIMIT 10
186+
----
187+
188+
{es-pull}112938[#112938]
189+
190+
[discrete]
191+
[[cross_cluster_search_telemetry]]
192+
=== Cross-cluster search telemetry
193+
The cross-cluster search telemetry is collected when cross-cluster searches
194+
are performed, and is returned as "ccs" field in `_cluster/stats` output.
195+
It also add a new parameter `include_remotes=true` to the `_cluster/stats` API
196+
which will collect data from connected remote clusters.
197+
198+
{es-pull}113825[#113825]
199+

0 commit comments

Comments
 (0)