Skip to content

Commit 2746597

Browse files
authored
Merge branch 'main' into lucene_snapshot_9_12
2 parents 54bd254 + 7b52356 commit 2746597

File tree

73 files changed

+838
-550
lines changed

Some content is hidden

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

73 files changed

+838
-550
lines changed

build-tools-internal/src/main/groovy/elasticsearch.ide.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ if (providers.systemProperty('idea.active').getOrNull() == 'true') {
168168
vmParameters = [
169169
'-ea',
170170
'-Djava.security.manager=allow',
171-
'-Djava.locale.providers=SPI,CLDR',
171+
'-Djava.locale.providers=CLDR',
172172
'-Des.nativelibs.path="' + testLibraryPath + '"',
173173
// TODO: only open these for mockito when it is modularized
174174
'--add-opens=java.base/java.security.cert=ALL-UNNAMED',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void execute(Task t) {
9393
mkdirs(test.getWorkingDir().toPath().resolve("temp").toFile());
9494

9595
// TODO remove once jvm.options are added to test system properties
96-
test.systemProperty("java.locale.providers", "SPI,CLDR");
96+
test.systemProperty("java.locale.providers", "CLDR");
9797
}
9898
});
9999
test.getJvmArgumentProviders().add(nonInputProperties);

distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli/SystemJvmOptions.java

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
import org.elasticsearch.common.settings.Settings;
1313
import org.elasticsearch.common.util.concurrent.EsExecutors;
14-
import org.elasticsearch.core.UpdateForV9;
1514

1615
import java.util.List;
1716
import java.util.Map;
@@ -61,7 +60,7 @@ static List<String> systemJvmOptions(Settings nodeSettings, final Map<String, St
6160
"-Dlog4j.shutdownHookEnabled=false",
6261
"-Dlog4j2.disable.jmx=true",
6362
"-Dlog4j2.formatMsgNoLookups=true",
64-
"-Djava.locale.providers=" + getLocaleProviders(),
63+
"-Djava.locale.providers=CLDR",
6564
maybeEnableNativeAccess(),
6665
maybeOverrideDockerCgroup(distroType),
6766
maybeSetActiveProcessorCount(nodeSettings),
@@ -73,16 +72,6 @@ static List<String> systemJvmOptions(Settings nodeSettings, final Map<String, St
7372
).filter(e -> e.isEmpty() == false).collect(Collectors.toList());
7473
}
7574

76-
@UpdateForV9 // only use CLDR in v9+
77-
private static String getLocaleProviders() {
78-
/*
79-
* Specify SPI to load IsoCalendarDataProvider (see #48209), specifying the first day of week as Monday.
80-
* When on pre-23, use COMPAT instead to maintain existing date formats as much as we can.
81-
* When on JDK 23+, use the default CLDR locale database, as COMPAT was removed in JDK 23.
82-
*/
83-
return Runtime.version().feature() >= 23 ? "SPI,CLDR" : "SPI,COMPAT";
84-
}
85-
8675
/*
8776
* The virtual file /proc/self/cgroup should list the current cgroup
8877
* membership. For each hierarchy, you can follow the cgroup path from

docs/changelog/112645.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 112645
2+
summary: Add support for multi-value dimensions
3+
area: Mapping
4+
type: enhancement
5+
issues:
6+
- 110387

docs/changelog/113172.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 113172
2+
summary: "[ESQL] Add finish() elapsed time to aggregation profiling times"
3+
area: ES|QL
4+
type: enhancement
5+
issues:
6+
- 112950

docs/changelog/113280.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 113280
2+
summary: Warn for model load failures if they have a status code <500
3+
area: Machine Learning
4+
type: bug
5+
issues: []

docs/reference/mapping/types/keyword.asciidoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ index setting limits the number of dimensions in an index.
163163
Dimension fields have the following constraints:
164164

165165
* The `doc_values` and `index` mapping parameters must be `true`.
166-
* Field values cannot be an <<array,array or multi-value>>.
167166
// end::dimension[]
168167
* Dimension values are used to identify a document’s time series. If dimension values are altered in any way during indexing, the document will be stored as belonging to different from intended time series. As a result there are additional constraints:
169168
** The field cannot use a <<normalizer,`normalizer`>>.

docs/reference/rest-api/security/get-service-accounts.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ GET /_security/service/elastic/fleet-server
250250
"monitor",
251251
"create_index",
252252
"auto_configure",
253-
"maintenance"
253+
"maintenance",
254+
"view_index_metadata"
254255
],
255256
"allow_restricted_indices": false
256257
},
@@ -265,7 +266,8 @@ GET /_security/service/elastic/fleet-server
265266
"monitor",
266267
"create_index",
267268
"auto_configure",
268-
"maintenance"
269+
"maintenance",
270+
"view_index_metadata"
269271
],
270272
"allow_restricted_indices": false
271273
}

modules/aggregations/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ dependencies {
4545
compileOnly(project(':modules:lang-painless:spi'))
4646
clusterModules(project(':modules:lang-painless'))
4747
}
48+
49+
tasks.named("yamlRestCompatTestTransform").configure({ task ->
50+
task.skipTest("aggregations/date_agg_per_day_of_week/Date aggregartion per day of week", "week-date behaviour has changed")
51+
})

modules/aggregations/src/yamlRestTest/resources/rest-api-spec/test/aggregations/date_agg_per_day_of_week.yml

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

0 commit comments

Comments
 (0)