Skip to content

Commit 312bd42

Browse files
authored
Merge branch 'main' into remove-reserved-state
2 parents 57e5881 + e7166cf commit 312bd42

File tree

373 files changed

+5167
-2582
lines changed

Some content is hidden

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

373 files changed

+5167
-2582
lines changed

benchmarks/src/main/java/org/elasticsearch/benchmark/_nightly/esql/QueryPlanningBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void setup() {
7676
Locale.US,
7777
null,
7878
null,
79-
new QueryPragmas(Settings.EMPTY),
79+
QueryPragmas.EMPTY,
8080
AnalyzerSettings.QUERY_RESULT_TRUNCATION_MAX_SIZE.getDefault(Settings.EMPTY),
8181
AnalyzerSettings.QUERY_RESULT_TRUNCATION_DEFAULT_SIZE.getDefault(Settings.EMPTY),
8282
"",

benchmarks/src/main/java/org/elasticsearch/benchmark/compute/operator/EvalBenchmark.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.Equals;
5757
import org.elasticsearch.xpack.esql.expression.predicate.operator.comparison.LessThan;
5858
import org.elasticsearch.xpack.esql.planner.Layout;
59+
import org.elasticsearch.xpack.esql.plugin.QueryPragmas;
5960
import org.elasticsearch.xpack.esql.session.Configuration;
6061
import org.openjdk.jmh.annotations.Benchmark;
6162
import org.openjdk.jmh.annotations.BenchmarkMode;
@@ -358,7 +359,7 @@ private static Configuration configuration() {
358359
Locale.ROOT,
359360
null,
360361
null,
361-
null,
362+
QueryPragmas.EMPTY,
362363
AnalyzerSettings.QUERY_RESULT_TRUNCATION_MAX_SIZE.get(Settings.EMPTY),
363364
AnalyzerSettings.QUERY_RESULT_TRUNCATION_DEFAULT_SIZE.get(Settings.EMPTY),
364365
null,

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionModuleCheckTaskProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public class InternalDistributionModuleCheckTaskProvider {
5353
"org.elasticsearch.base",
5454
"org.elasticsearch.cli",
5555
"org.elasticsearch.entitlement",
56+
"org.elasticsearch.exponentialhistogram",
5657
"org.elasticsearch.geo",
5758
"org.elasticsearch.grok",
5859
"org.elasticsearch.logging",

docs/changelog/135961.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 135961
2+
summary: Late materialization of dimension fields in time-series
3+
area: TSDB
4+
type: enhancement
5+
issues: []

docs/changelog/136541.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 136541
2+
summary: Multiple patterns for grok command
3+
area: ES|QL
4+
type: enhancement
5+
issues:
6+
- 132486

docs/changelog/136650.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/changelog/136709.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 136709
2+
summary: Fix log formatting in `SnapshotLifecycleTask`
3+
area: ILM+SLM
4+
type: bug
5+
issues: []

docs/changelog/136751.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 136751
2+
summary: Adjust jinaai rerank response parser to handle document field as string or
3+
object
4+
area: Machine Learning
5+
type: bug
6+
issues: []

docs/extend/example-text-analysis-plugin.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ Elastic provides a Grade plugin, `elasticsearch.stable-esplugin`, that makes it
131131
"filter": ["hello_world"]
132132
}
133133
```
134+
% TEST[skip:would require this plugin to be installed]
134135
135136
136137
@@ -162,6 +163,7 @@ If you are using the `elasticsearch.stable-esplugin` plugin for Gradle, you can
162163
}
163164
}
164165
```
166+
% NOTCONSOLE
165167
166168
4. In `src/yamlRestTest/resources/rest-api-spec/test/plugin`, create the `10_token_filter.yml` YAML file:
167169

docs/reference/aggregations/search-aggregations-metrics-scripted-metric-aggregation.md

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -168,19 +168,23 @@ Lets say that documents 1 and 3 end up on shard A and documents 2 and 4 end up o
168168
This is run once on each shard before any document collection is performed, and so we will have a copy on each shard:
169169

170170
Shard A
171-
: ```js
172-
"state" : {
173-
"transactions" : []
174-
}
175-
```
171+
:
172+
```js
173+
"state" : {
174+
"transactions" : []
175+
}
176+
```
177+
% NOTCONSOLE
176178

177179

178180
Shard B
179-
: ```js
180-
"state" : {
181-
"transactions" : []
182-
}
183-
```
181+
:
182+
```js
183+
"state" : {
184+
"transactions" : []
185+
}
186+
```
187+
% NOTCONSOLE
184188

185189

186190

@@ -189,19 +193,23 @@ Shard B
189193
Each shard collects its documents and runs the map_script on each document that is collected:
190194

191195
Shard A
192-
: ```js
193-
"state" : {
194-
"transactions" : [ 80, -30 ]
195-
}
196-
```
196+
:
197+
```js
198+
"state" : {
199+
"transactions" : [ 80, -30 ]
200+
}
201+
```
202+
% NOTCONSOLE
197203

198204

199205
Shard B
200-
: ```js
201-
"state" : {
202-
"transactions" : [ -10, 130 ]
203-
}
204-
```
206+
:
207+
```js
208+
"state" : {
209+
"transactions" : [ -10, 130 ]
210+
}
211+
```
212+
% NOTCONSOLE
205213

206214

207215

0 commit comments

Comments
 (0)