Skip to content

Commit 3a676a5

Browse files
authored
Merge branch 'main' into esql-inference-ccs-v2
2 parents 074ec2f + 91b7bd2 commit 3a676a5

File tree

513 files changed

+11217
-3325
lines changed

Some content is hidden

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

513 files changed

+11217
-3325
lines changed

benchmarks/src/main/java/org/elasticsearch/benchmark/index/mapper/MapperServiceFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ public <T> T compile(Script script, ScriptContext<T> scriptContext) {
8383
}
8484
},
8585
bitsetFilterCache::getBitSetProducer,
86-
MapperMetrics.NOOP
86+
MapperMetrics.NOOP,
87+
null
8788
);
8889

8990
try {

benchmarks/src/main/java/org/elasticsearch/benchmark/indices/common/MappingParsingBenchmark.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ public <T> T compile(Script script, ScriptContext<T> scriptContext) {
153153
}
154154
},
155155
bitsetFilterCache::getBitSetProducer,
156-
MapperMetrics.NOOP
156+
MapperMetrics.NOOP,
157+
null
157158
);
158159

159160
mapperServices.add(mapperService);

benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ public class ScriptScoreBenchmark {
108108
private final CircuitBreakerService breakerService = new NoneCircuitBreakerService();
109109
private final SearchLookup lookup = new SearchLookup(
110110
fieldTypes::get,
111-
(mft, lookup, fdo) -> mft.fielddataBuilder(FieldDataContext.noRuntimeFields("benchmark")).build(fieldDataCache, breakerService),
111+
(mft, lookup, fdo) -> mft.fielddataBuilder(FieldDataContext.noRuntimeFields("index", "benchmark"))
112+
.build(fieldDataCache, breakerService),
112113
SourceProvider.fromLookup(MappingLookup.EMPTY, null, SourceFieldMetrics.NOOP)
113114
);
114115

benchmarks/src/main/java/org/elasticsearch/benchmark/search/QueryParserHelperBenchmark.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ public <T> T compile(Script script, ScriptContext<T> scriptContext) {
191191
}
192192
},
193193
query -> { throw new UnsupportedOperationException(); },
194-
MapperMetrics.NOOP
194+
MapperMetrics.NOOP,
195+
null
195196
);
196197

197198
try {

benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public Analyzer buildCustomAnalyzer(
215215
protected IndexFieldData<?> buildFieldData(MappedFieldType ft) {
216216
IndexFieldDataCache indexFieldDataCache = indicesFieldDataCache.buildIndexFieldDataCache(new IndexFieldDataCache.Listener() {
217217
}, index, ft.name());
218-
return ft.fielddataBuilder(FieldDataContext.noRuntimeFields("benchmark")).build(indexFieldDataCache, breakerService);
218+
return ft.fielddataBuilder(FieldDataContext.noRuntimeFields("index", "benchmark")).build(indexFieldDataCache, breakerService);
219219
}
220220

221221
@Override

docs/changelog/137511.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ pr: 137511
22
summary: Fixes esql class cast bug in STATS at planning level
33
area: ES|QL
44
type: bug
5-
issues: []
5+
issues:
6+
- 133992
7+
- 136598

docs/changelog/138489.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 138489
2+
summary: Use existing `DocumentMapper` when creating new `MapperService`
3+
area: Mapping
4+
type: enhancement
5+
issues: []

docs/changelog/138515.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 138515
2+
summary: Integrate stored fields format bloom filter with synthetic `_id`
3+
area: Codec
4+
type: enhancement
5+
issues: []

docs/changelog/138968.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
pr: 138492
2+
summary: Enable new exponential histograms field type
3+
area: Mapping
4+
type: enhancement
5+
issues: []
6+
highlight:
7+
title: New exponential_histogram field type for native OpenTelemetry exponential histogram support
8+
body: |-
9+
A new `exponential_histogram` field type has been added to Elasticsearch, providing native support for
10+
OpenTelemetry exponential histograms.
11+
12+
Exponential histograms offer an efficient way to collect distributions (e.g. response times) at a high compression
13+
ratio while still maintaining good accuracy for percentile estimation. They can be easily collected via
14+
OpenTelemetry SDKs, as the only required configuration is the maximum allowed number of buckets. The actual buckets will be
15+
chosen automatically based on the observed values.
16+
17+
The new `exponential_histogram` field type is supported in ES|QL.
18+
It can be aggregated using the `PERCENTILES`, `AVG`, `MIN`, `MAX` and `SUM` functions.
19+
notable: true

docs/changelog/139106.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 139106
2+
summary: Let terms queries rewrite to a filter on `constant_keyword` fields
3+
area: Aggregations
4+
type: enhancement
5+
issues: []

0 commit comments

Comments
 (0)