Skip to content

Commit e287fc8

Browse files
Merge branch 'main' into es-12656-linked-proj-cfg
2 parents 46caac4 + 5c66eb5 commit e287fc8

File tree

36 files changed

+454
-182
lines changed

36 files changed

+454
-182
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ private static ListMultimap<Class<?>, String> createLegacyRestTestBasePluginUsag
5656
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:third-party:jira");
5757
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:third-party:pagerduty");
5858
map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:third-party:slack");
59-
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:downsample:qa:with-security");
6059
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:ent-search:qa:rest");
6160
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:eql:qa:ccs-rolling-upgrade");
6261
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:eql:qa:correctness");

distribution/docker/src/docker/dockerfiles/cloud_ess_fips/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ RUN <%= retry.loop(package_manager,
110110
" ${package_manager} update && \n" +
111111
" ${package_manager} upgrade && \n" +
112112
" ${package_manager} add --no-cache \n" +
113-
" bash java-cacerts curl libstdc++ libsystemd netcat-openbsd p11-kit p11-kit-trust posix-libc-utils shadow tini unzip zip zstd && \n" +
113+
" bash java-cacerts curl libstdc++ libsystemd netcat-openbsd p11-kit p11-kit-trust posix-libc-utils shadow tini unzip zip zstd wget && \n" +
114114
" rm -rf /var/cache/apk/* "
115115
) %>
116116

distribution/packages/build.gradle

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,6 @@ tasks.register('buildDeb', Deb) {
354354
configure(commonDebConfig('x64'))
355355
}
356356

357-
tasks.named('assemble'){
358-
dependsOn 'buildDeb', 'buildAarch64Deb'
359-
}
360-
361357
Closure commonRpmConfig(String architecture) {
362358
return {
363359
configure(commonPackageConfig('rpm', architecture))
@@ -391,11 +387,6 @@ tasks.register('buildRpm', Rpm) {
391387
configure(commonRpmConfig('x64'))
392388
}
393389

394-
tasks.named('assemble'){
395-
dependsOn 'buildRpm', 'buildAarch64Rpm'
396-
}
397-
398-
399390
Closure dpkgExists = { it -> new File('/bin/dpkg-deb').exists() || new File('/usr/bin/dpkg-deb').exists() || new File('/usr/local/bin/dpkg-deb').exists() }
400391
Closure rpmExists = { it -> new File('/bin/rpm').exists() || new File('/usr/bin/rpm').exists() || new File('/usr/local/bin/rpm').exists() }
401392

@@ -409,6 +400,11 @@ subprojects {
409400

410401
String buildTask = "build${it.name.replaceAll(/-[a-z]/) { it.substring(1).toUpperCase() }.capitalize()}"
411402
ext.buildDist = parent.tasks.named(buildTask)
403+
tasks.named('assemble').configure {
404+
dependsOn buildDist
405+
}
406+
407+
// deprecated here for backwards compatibility of DistroTestPlugin and DistributionDownloadPlugin
412408
artifacts {
413409
'default' buildDist
414410
}

docs/changelog/131317.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
pr: 131317
2+
summary: Don't enable norms for fields of type text when the index mode is LogsDB or TSDB
3+
area: Mapping
4+
type: breaking
5+
issues: []
6+
breaking:
7+
title: Don't enable norms for fields of type text when the index mode is LogsDB or TSDB
8+
area: Mapping
9+
details: "This changes the default behavior for norms on `text` fields in logsdb\
10+
\ and tsdb indices. Prior to this change, norms were enabled by default, with\
11+
\ the option to disable them via manual configurations. After this change, norms\
12+
\ will be disabled by default. Note, because we dont support enabling norms from\
13+
\ a disabled state, users will not be able to enable norms on `text` fields in\
14+
\ logsdb and tsdb indices."
15+
impact: Text fields will no longer be normalized by default in LogsDB and TSDB indicies.
16+
notable: false

docs/changelog/132738.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 132738
2+
summary: Fix `AsyncOperator` status values and add emitted rows
3+
area: ES|QL
4+
type: bug
5+
issues: []

modules/mapper-extras/src/main/java/org/elasticsearch/index/mapper/extras/SearchAsYouTypeFieldMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public static class Builder extends FieldMapper.Builder {
138138
final Parameter<SimilarityProvider> similarity = TextParams.similarity(m -> builder(m).similarity.get());
139139

140140
final Parameter<String> indexOptions = TextParams.textIndexOptions(m -> builder(m).indexOptions.get());
141-
final Parameter<Boolean> norms = TextParams.norms(true, m -> builder(m).norms.get());
141+
final Parameter<Boolean> norms = Parameter.normsParam(m -> builder(m).norms.get(), true);
142142
final Parameter<String> termVectors = TextParams.termVectors(m -> builder(m).termVectors.get());
143143

144144
private final Parameter<Map<String, String>> meta = Parameter.metaParam();

muted-tests.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,6 @@ tests:
399399
- class: org.elasticsearch.xpack.esql.action.EsqlActionBreakerIT
400400
method: testFromEvalStats
401401
issue: https://github.com/elastic/elasticsearch/issues/131503
402-
- class: org.elasticsearch.xpack.downsample.DownsampleWithBasicRestIT
403-
method: test {p0=downsample-with-security/10_basic/Downsample index}
404-
issue: https://github.com/elastic/elasticsearch/issues/131513
405402
- class: org.elasticsearch.xpack.search.CrossClusterAsyncSearchIT
406403
method: testCancellationViaTimeoutWithAllowPartialResultsSetToFalse
407404
issue: https://github.com/elastic/elasticsearch/issues/131248
@@ -459,9 +456,9 @@ tests:
459456
- class: org.elasticsearch.xpack.ml.integration.RevertModelSnapshotIT
460457
method: testRevertModelSnapshot_DeleteInterveningResults
461458
issue: https://github.com/elastic/elasticsearch/issues/132349
462-
- class: org.elasticsearch.xpack.ml.integration.TextEmbeddingQueryIT
463-
method: testHybridSearch
464-
issue: https://github.com/elastic/elasticsearch/issues/132703
459+
#- class: org.elasticsearch.xpack.ml.integration.TextEmbeddingQueryIT
460+
# method: testHybridSearch
461+
# issue: https://github.com/elastic/elasticsearch/issues/132703
465462
- class: org.elasticsearch.xpack.ml.integration.RevertModelSnapshotIT
466463
method: testRevertModelSnapshot
467464
issue: https://github.com/elastic/elasticsearch/issues/132733
@@ -579,15 +576,6 @@ tests:
579576
- class: org.elasticsearch.gradle.internal.transport.TransportVersionValidationFuncTest
580577
method: definitions have primary ids which cannot change
581578
issue: https://github.com/elastic/elasticsearch/issues/133131
582-
- class: org.elasticsearch.index.mapper.blockloader.IpFieldBlockLoaderTests
583-
method: testBlockLoader {preference=Params[syntheticSource=true, preference=NONE]}
584-
issue: https://github.com/elastic/elasticsearch/issues/133216
585-
- class: org.elasticsearch.index.mapper.blockloader.IpFieldBlockLoaderTests
586-
method: testBlockLoader {preference=Params[syntheticSource=true, preference=DOC_VALUES]}
587-
issue: https://github.com/elastic/elasticsearch/issues/133217
588-
- class: org.elasticsearch.index.mapper.blockloader.IpFieldBlockLoaderTests
589-
method: testBlockLoader {preference=Params[syntheticSource=true, preference=STORED]}
590-
issue: https://github.com/elastic/elasticsearch/issues/133218
591579
- class: org.elasticsearch.xpack.esql.action.RandomizedTimeSeriesIT
592580
method: testGroupBySubset
593581
issue: https://github.com/elastic/elasticsearch/issues/133220
@@ -612,6 +600,9 @@ tests:
612600
- class: org.elasticsearch.test.rest.yaml.RcsCcsCommonYamlTestSuiteIT
613601
method: test {p0=search/160_exists_query/Test exists query on unmapped byte field}
614602
issue: https://github.com/elastic/elasticsearch/issues/133331
603+
- class: org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT
604+
method: test {csv-spec:change_point.Values null column}
605+
issue: https://github.com/elastic/elasticsearch/issues/133334
615606

616607
# Examples:
617608
#

plugins/analysis-icu/src/main/java/org/elasticsearch/plugin/analysis/icu/ICUCollationKeywordFieldMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public static class Builder extends FieldMapper.Builder {
226226
final Parameter<Boolean> stored = Parameter.storeParam(m -> toType(m).fieldType.stored(), false);
227227

228228
final Parameter<String> indexOptions = TextParams.keywordIndexOptions(m -> toType(m).indexOptions);
229-
final Parameter<Boolean> hasNorms = TextParams.norms(false, m -> toType(m).fieldType.omitNorms() == false);
229+
final Parameter<Boolean> hasNorms = Parameter.normsParam(m -> toType(m).fieldType.omitNorms() == false, false);
230230

231231
final Parameter<Map<String, String>> meta = Parameter.metaParam();
232232

plugins/mapper-annotated-text/src/main/java/org/elasticsearch/index/mapper/annotatedtext/AnnotatedTextFieldMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static class Builder extends FieldMapper.Builder {
8282

8383
final Parameter<SimilarityProvider> similarity = TextParams.similarity(m -> builder(m).similarity.getValue());
8484
final Parameter<String> indexOptions = TextParams.textIndexOptions(m -> builder(m).indexOptions.getValue());
85-
final Parameter<Boolean> norms = TextParams.norms(true, m -> builder(m).norms.getValue());
85+
final Parameter<Boolean> norms = Parameter.normsParam(m -> builder(m).norms.getValue(), true);
8686
final Parameter<String> termVectors = TextParams.termVectors(m -> builder(m).termVectors.getValue());
8787

8888
private final Parameter<Map<String, String>> meta = Parameter.metaParam();

server/src/main/java/org/elasticsearch/TransportVersions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ static TransportVersion def(int id) {
367367
public static final TransportVersion RESOLVE_INDEX_MODE_ADDED = def(9_141_0_00);
368368
public static final TransportVersion DATA_STREAM_WRITE_INDEX_ONLY_SETTINGS = def(9_142_0_00);
369369
public static final TransportVersion SCRIPT_RESCORER = def(9_143_0_00);
370+
public static final TransportVersion ESQL_LOOKUP_OPERATOR_EMITTED_ROWS = def(9_144_0_00);
370371

371372
/*
372373
* STOP! READ THIS FIRST! No, really,

0 commit comments

Comments
 (0)