From 4d250ef17dd17ad6e53336507a7b2407267d8968 Mon Sep 17 00:00:00 2001 From: Simon Cooper Date: Tue, 18 Nov 2025 13:20:30 +0000 Subject: [PATCH 1/5] Update to Lucene 10.3.2 --- build-tools-internal/version.properties | 2 +- docs/Versions.asciidoc | 4 +- gradle/verification-metadata.xml | 150 +++++++++--------- .../elasticsearch/index/IndexVersions.java | 1 + 4 files changed, 79 insertions(+), 78 deletions(-) diff --git a/build-tools-internal/version.properties b/build-tools-internal/version.properties index c37cd2a4782fd..a723169c0a697 100644 --- a/build-tools-internal/version.properties +++ b/build-tools-internal/version.properties @@ -1,5 +1,5 @@ elasticsearch = 9.3.0 -lucene = 10.3.1 +lucene = 10.3.2 bundled_jdk_vendor = openjdk bundled_jdk = 25.0.1+8@2fbf10d8c78e40bd87641c434705079d diff --git a/docs/Versions.asciidoc b/docs/Versions.asciidoc index f2cebed62a02e..4e28c3eee45fc 100644 --- a/docs/Versions.asciidoc +++ b/docs/Versions.asciidoc @@ -1,8 +1,8 @@ include::{docs-root}/shared/versions/stack/{source_branch}.asciidoc[] -:lucene_version: 10.3.1 -:lucene_version_path: 10_3_1 +:lucene_version: 10.3.2 +:lucene_version_path: 10_3_2 :jdk: 11.0.2 :jdk_major: 11 :build_type: tar diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 86146db87dbc1..66ff416f4dfae 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -3185,129 +3185,129 @@ - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + diff --git a/server/src/main/java/org/elasticsearch/index/IndexVersions.java b/server/src/main/java/org/elasticsearch/index/IndexVersions.java index ef0cee140cf96..4bc1ecaad2138 100644 --- a/server/src/main/java/org/elasticsearch/index/IndexVersions.java +++ b/server/src/main/java/org/elasticsearch/index/IndexVersions.java @@ -194,6 +194,7 @@ private static Version parseUnchecked(String version) { public static final IndexVersion TIME_SERIES_USE_SYNTHETIC_ID = def(9_044_0_00, Version.LUCENE_10_3_1); public static final IndexVersion TIME_SERIES_DIMENSIONS_USE_SKIPPERS = def(9_045_0_00, Version.LUCENE_10_3_1); public static final IndexVersion TIME_SERIES_ALL_FIELDS_USE_SKIPPERS = def(9_046_0_00, Version.LUCENE_10_3_1); + public static final IndexVersion UPGRADE_TO_LUCENE_10_3_2 = def(9_047_0_00, Version.LUCENE_10_3_2); /* * STOP! READ THIS FIRST! No, really, From 15fe7bdc38de3f3296ed52f25bcb7a9f525d0aa8 Mon Sep 17 00:00:00 2001 From: Simon Cooper Date: Tue, 18 Nov 2025 13:26:27 +0000 Subject: [PATCH 2/5] Update docs/changelog/138230.yaml --- docs/changelog/138230.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/changelog/138230.yaml diff --git a/docs/changelog/138230.yaml b/docs/changelog/138230.yaml new file mode 100644 index 0000000000000..2511ee085b4aa --- /dev/null +++ b/docs/changelog/138230.yaml @@ -0,0 +1,5 @@ +pr: 138230 +summary: Update to Lucene 10.3.2 +area: Vector Search +type: feature +issues: [] From f67f841fe25ef32e885739db7637cb048b9321e9 Mon Sep 17 00:00:00 2001 From: Simon Cooper Date: Tue, 18 Nov 2025 13:28:02 +0000 Subject: [PATCH 3/5] Update docs/changelog/138230.yaml --- docs/changelog/138230.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/138230.yaml b/docs/changelog/138230.yaml index 2511ee085b4aa..93498d05954e3 100644 --- a/docs/changelog/138230.yaml +++ b/docs/changelog/138230.yaml @@ -2,4 +2,5 @@ pr: 138230 summary: Update to Lucene 10.3.2 area: Vector Search type: feature -issues: [] +issues: + - 135718 From b15f5ebc4d620933ce16aaa62e05179fa8aa65a8 Mon Sep 17 00:00:00 2001 From: Simon Cooper Date: Tue, 18 Nov 2025 13:51:06 +0000 Subject: [PATCH 4/5] Update docs/changelog/138230.yaml --- docs/changelog/138230.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/138230.yaml b/docs/changelog/138230.yaml index 93498d05954e3..52fcb4d8e91b6 100644 --- a/docs/changelog/138230.yaml +++ b/docs/changelog/138230.yaml @@ -1,6 +1,6 @@ pr: 138230 summary: Update to Lucene 10.3.2 area: Vector Search -type: feature +type: bug issues: - 135718 From 90312b7c42aaa0b1a2a1c77a94c5cb51aa4632d7 Mon Sep 17 00:00:00 2001 From: Simon Cooper Date: Tue, 18 Nov 2025 14:22:18 +0000 Subject: [PATCH 5/5] Add backport index version --- server/src/main/java/org/elasticsearch/index/IndexVersions.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/main/java/org/elasticsearch/index/IndexVersions.java b/server/src/main/java/org/elasticsearch/index/IndexVersions.java index 4bc1ecaad2138..0b18a1998e6d3 100644 --- a/server/src/main/java/org/elasticsearch/index/IndexVersions.java +++ b/server/src/main/java/org/elasticsearch/index/IndexVersions.java @@ -187,6 +187,7 @@ private static Version parseUnchecked(String version) { public static final IndexVersion UPGRADE_TO_LUCENE_10_3_0 = def(9_038_0_00, Version.LUCENE_10_3_0); public static final IndexVersion IGNORED_SOURCE_COALESCED_ENTRIES = def(9_039_0_00, Version.LUCENE_10_3_0); public static final IndexVersion BACKPORT_UPGRADE_TO_LUCENE_10_3_1 = def(9_039_0_01, Version.LUCENE_10_3_1); + public static final IndexVersion BACKPORT_UPGRADE_TO_LUCENE_10_3_2 = def(9_039_0_02, Version.LUCENE_10_3_2); public static final IndexVersion KEYWORD_MULTI_FIELDS_NOT_STORED_WHEN_IGNORED = def(9_040_0_00, Version.LUCENE_10_3_0); public static final IndexVersion UPGRADE_TO_LUCENE_10_3_1 = def(9_041_0_00, Version.LUCENE_10_3_1); public static final IndexVersion REENABLED_TIMESTAMP_DOC_VALUES_SPARSE_INDEX = def(9_042_0_00, Version.LUCENE_10_3_1);