Skip to content

Commit 937e0dc

Browse files
Merge branch 'main' into esql/remove_redundant_sort
2 parents 7ec3534 + 2e2fe7d commit 937e0dc

File tree

65 files changed

+824
-350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+824
-350
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Comment on PR for .asciidoc changes
3+
4+
on:
5+
# We need to use pull_request_target to be able to comment on PRs from forks
6+
pull_request_target:
7+
types:
8+
- synchronize
9+
- opened
10+
- reopened
11+
branches:
12+
- main
13+
- master
14+
- "9.0"
15+
16+
jobs:
17+
comment-on-asciidoc-change:
18+
permissions:
19+
contents: read
20+
pull-requests: write
21+
uses: elastic/docs-builder/.github/workflows/comment-on-asciidoc-changes.yml@main

branches.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
{
88
"branch": "8.16"
99
},
10-
{
11-
"branch": "9.0"
12-
},
1310
{
1411
"branch": "8.17"
1512
},

build-tools-internal/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
elasticsearch = 9.0.0
2-
lucene = 10.0.0
2+
lucene = 10.1.0
33

44
bundled_jdk_vendor = openjdk
55
bundled_jdk = 23+37@3c5b90190c68498b986a97f276efd28a

docs/Versions.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
include::{docs-root}/shared/versions/stack/{source_branch}.asciidoc[]
33

4-
:lucene_version: 10.0.0
5-
:lucene_version_path: 10_0_0
4+
:lucene_version: 10.1.0
5+
:lucene_version_path: 10_1_0
66
:jdk: 11.0.2
77
:jdk_major: 11
88
:build_type: tar

docs/changelog/119308.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 119308
2+
summary: Upgrade to Lucene 10.1.0
3+
area: Search
4+
type: upgrade
5+
issues: []

docs/reference/search/profile.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ The API returns the following result:
176176
"time_in_nanos": 775274,
177177
"children" : [
178178
{
179-
"name": "SimpleTopScoreDocCollector",
179+
"name": "TopScoreDocCollector",
180180
"reason": "search_top_hits",
181181
"time_in_nanos": 775274
182182
}
@@ -537,7 +537,7 @@ Looking at the previous example:
537537
"time_in_nanos": 775274,
538538
"children" : [
539539
{
540-
"name": "SimpleTopScoreDocCollector",
540+
"name": "TopScoreDocCollector",
541541
"reason": "search_top_hits",
542542
"time_in_nanos": 775274
543543
}
@@ -551,7 +551,7 @@ Looking at the previous example:
551551

552552

553553
We see a top-level collector named `QueryPhaseCollector` which holds a child
554-
`SimpleTopScoreDocCollector`. `SimpleTopScoreDocCollector` is the default
554+
`TopScoreDocCollector`. `TopScoreDocCollector` is the default
555555
"scoring and sorting" `Collector` used by {es}. The `reason` field attempts
556556
to give a plain English description of the class name. The `time_in_nanos`
557557
is similar to the time in the Query tree: a wall-clock time inclusive of all
@@ -751,7 +751,7 @@ The API returns the following result:
751751
"time_in_nanos": 1945072,
752752
"children": [
753753
{
754-
"name": "SimpleTopScoreDocCollector",
754+
"name": "TopScoreDocCollector",
755755
"reason": "search_top_hits",
756756
"time_in_nanos": 22577
757757
},
@@ -788,7 +788,7 @@ major portions of the query are represented:
788788
2. The second `TermQuery` (message:search) represents the `post_filter` query.
789789

790790
The Collector tree is fairly straightforward, showing how a single
791-
QueryPhaseCollector that holds the normal scoring SimpleTopScoreDocCollector
791+
QueryPhaseCollector that holds the normal scoring TopScoreDocCollector
792792
used to collect top hits, as well as BucketCollectorWrapper to run all scoped
793793
aggregations.
794794

@@ -1332,7 +1332,7 @@ One of the `dfs.knn` sections for a shard looks like the following:
13321332
"rewrite_time" : 1275732,
13331333
"collector" : [
13341334
{
1335-
"name" : "SimpleTopScoreDocCollector",
1335+
"name" : "TopScoreDocCollector",
13361336
"reason" : "search_top_hits",
13371337
"time_in_nanos" : 17163
13381338
}

docs/reference/troubleshooting/common-issues/disk-usage-exceeded.asciidoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,14 @@ its {cloud}/ec-api-console.html[Elasticsearch API Console] to later
127127
with this resolution flow on {ess}, kindly reach out to
128128
https://support.elastic.co[Elastic Support] for assistance.
129129

130-
== Prevent watermark errors
130+
[discrete]
131+
[[fix-watermark-errors-prevent]]
132+
=== Prevent watermark errors
131133

132-
To avoid watermark errors in future, , perform one of the following actions:
134+
To avoid watermark errors in future, perform one of the following actions:
133135

134136
* If you're using {ess}, {ece}, or {eck}: Enable <<xpack-autoscaling,autoscaling>>.
135137

136138
* Set up {kibana-ref}/kibana-alerts.html[stack monitoring alerts] on top of
137139
<<monitor-elasticsearch-cluster,{es} monitoring>> to be notified before
138-
the flood-stage watermark is reached.
140+
the flood-stage watermark is reached.

gradle/verification-metadata.xml

Lines changed: 125 additions & 75 deletions
Large diffs are not rendered by default.

libs/entitlement/asm-provider/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ apply plugin: 'elasticsearch.build'
1111

1212
dependencies {
1313
compileOnly project(':libs:entitlement')
14+
compileOnly project(':libs:core')
1415
implementation 'org.ow2.asm:asm:9.7.1'
1516
testImplementation project(":test:framework")
1617
testImplementation project(":libs:entitlement:bridge")

libs/entitlement/asm-provider/src/main/java/module-info.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
requires org.objectweb.asm;
1515
requires org.elasticsearch.entitlement;
1616

17+
requires static org.elasticsearch.base; // for SuppressForbidden
18+
1719
provides InstrumentationService with InstrumentationServiceImpl;
1820
}

0 commit comments

Comments
 (0)