Skip to content

Commit 2ea21db

Browse files
authored
SOLR-18143: Upgrade the Lucene dependency from 10.3.2 to 10.4.0 (#4195)
Codec changes: - SchemaCodecFactory, CuVSCodec, CuVSCodecFactory: Lucene103Codec -> Lucene104Codec - ScalarQuantizedDenseVectorField: migrated to Lucene104HnswScalarQuantizedVectorsFormat; confidenceInterval, compress, and dynamicConfidenceInterval params are now deprecated; they're parsed but ignored with DeprecationLog warnings - BinaryQuantizedDenseVectorField: replaced Lucene102HnswBinaryQuantizedVectorsFormat with Lucene104HnswScalarQuantizedVectorsFormat using ScalarEncoding.SINGLE_BIT_QUERY_NIBBLE Documentation: - Updated dense-vector-search.adoc to reflect deprecated scalar quantization params - Added Solr 10.1 section in major-changes-in-solr-10.adoc with codec change downgradeability warning - Added step in dev-docs/lucene-upgrade.md to document codec changes in upgrade notes Other: - Removed test configs for no-longer-validated confidenceInterval/compress constraints
1 parent 9f69afb commit 2ea21db

99 files changed

Lines changed: 728 additions & 939 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc
2+
title: Upgrade to Lucene 10.4
3+
type: dependency_update
4+
authors:
5+
- name: Rahul Goswami
6+
links:
7+
- name: SOLR-18143
8+
url: https://issues.apache.org/jira/browse/SOLR-18143

dev-docs/lucene-upgrade.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ https://lucene.apache.org/core/9_4_0/MIGRATE.html
2323

2424
## Start
2525

26-
Create a new branch locally e.g. `git checkout -b lucene940 -t origin/main` for upgrading to Lucene 9.4.0 version.
26+
Create a new branch locally e.g. `git checkout -b lucene1040 -t origin/main` for upgrading to Lucene 10.4.0 version.
2727

2828
## Build
2929

3030
### `gradle/libs.versions.toml` update
3131

3232
```
33-
- org.apache.lucene:*=9.3.0
34-
+ org.apache.lucene:*=9.4.0
33+
- apache-lucene:*=10.3.0
34+
+ apache-lucene:*=10.4.0
3535
```
3636

3737
### lockfiles update
@@ -60,7 +60,8 @@ git add solr/licenses
6060
* additional abstract base class or interface methods
6161
* inner classes becoming outer classes
6262
* codec changes (if any)
63-
* conceptually `s/org.apache.lucene.codecs.lucene9x.Lucene9x/org.apache.lucene.codecs.lucene94.Lucene94`
63+
* conceptually `s/org.apache.lucene.codecs.lucene10x.Lucene10x/org.apache.lucene.codecs.lucene104.Lucene104`
64+
* if the Lucene codec version changed, add an entry in `solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc` noting the codec change and warning users that downgrading to a prior Solr version after this upgrade may require a full reindex
6465

6566
## Test
6667

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ apache-httpcomponents-httpcore = "4.4.16"
3737
apache-httpcomponents-httpmime = "4.5.14"
3838
apache-kafka = "3.9.1"
3939
apache-log4j = "2.25.3"
40-
apache-lucene = "10.3.2"
40+
apache-lucene = "10.4.0"
4141
apache-opennlp = "2.5.6"
4242
apache-rat = "0.15"
4343
apache-tika = "3.2.3"

solr/api/gradle.lockfile

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -98,28 +98,28 @@ org.apache.httpcomponents:httpmime:4.5.14=jarValidation,testRuntimeClasspath
9898
org.apache.logging.log4j:log4j-api:2.25.3=jarValidation,testRuntimeClasspath
9999
org.apache.logging.log4j:log4j-core:2.25.3=jarValidation,testRuntimeClasspath
100100
org.apache.logging.log4j:log4j-slf4j2-impl:2.25.3=jarValidation,testRuntimeClasspath
101-
org.apache.lucene:lucene-analysis-common:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
102-
org.apache.lucene:lucene-analysis-kuromoji:10.3.2=jarValidation,testRuntimeClasspath
103-
org.apache.lucene:lucene-analysis-nori:10.3.2=jarValidation,testRuntimeClasspath
104-
org.apache.lucene:lucene-analysis-phonetic:10.3.2=jarValidation,testRuntimeClasspath
105-
org.apache.lucene:lucene-backward-codecs:10.3.2=jarValidation,testRuntimeClasspath
106-
org.apache.lucene:lucene-classification:10.3.2=jarValidation,testRuntimeClasspath
107-
org.apache.lucene:lucene-codecs:10.3.2=jarValidation,testRuntimeClasspath
108-
org.apache.lucene:lucene-core:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
109-
org.apache.lucene:lucene-expressions:10.3.2=jarValidation,testRuntimeClasspath
110-
org.apache.lucene:lucene-facet:10.3.2=jarValidation,testRuntimeClasspath
111-
org.apache.lucene:lucene-grouping:10.3.2=jarValidation,testRuntimeClasspath
112-
org.apache.lucene:lucene-highlighter:10.3.2=jarValidation,testRuntimeClasspath
113-
org.apache.lucene:lucene-join:10.3.2=jarValidation,testRuntimeClasspath
114-
org.apache.lucene:lucene-memory:10.3.2=jarValidation,testRuntimeClasspath
115-
org.apache.lucene:lucene-misc:10.3.2=jarValidation,testRuntimeClasspath
116-
org.apache.lucene:lucene-queries:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
117-
org.apache.lucene:lucene-queryparser:10.3.2=jarValidation,testRuntimeClasspath
118-
org.apache.lucene:lucene-sandbox:10.3.2=jarValidation,testRuntimeClasspath
119-
org.apache.lucene:lucene-spatial-extras:10.3.2=jarValidation,testRuntimeClasspath
120-
org.apache.lucene:lucene-spatial3d:10.3.2=jarValidation,testRuntimeClasspath
121-
org.apache.lucene:lucene-suggest:10.3.2=jarValidation,testRuntimeClasspath
122-
org.apache.lucene:lucene-test-framework:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
101+
org.apache.lucene:lucene-analysis-common:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
102+
org.apache.lucene:lucene-analysis-kuromoji:10.4.0=jarValidation,testRuntimeClasspath
103+
org.apache.lucene:lucene-analysis-nori:10.4.0=jarValidation,testRuntimeClasspath
104+
org.apache.lucene:lucene-analysis-phonetic:10.4.0=jarValidation,testRuntimeClasspath
105+
org.apache.lucene:lucene-backward-codecs:10.4.0=jarValidation,testRuntimeClasspath
106+
org.apache.lucene:lucene-classification:10.4.0=jarValidation,testRuntimeClasspath
107+
org.apache.lucene:lucene-codecs:10.4.0=jarValidation,testRuntimeClasspath
108+
org.apache.lucene:lucene-core:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
109+
org.apache.lucene:lucene-expressions:10.4.0=jarValidation,testRuntimeClasspath
110+
org.apache.lucene:lucene-facet:10.4.0=jarValidation,testRuntimeClasspath
111+
org.apache.lucene:lucene-grouping:10.4.0=jarValidation,testRuntimeClasspath
112+
org.apache.lucene:lucene-highlighter:10.4.0=jarValidation,testRuntimeClasspath
113+
org.apache.lucene:lucene-join:10.4.0=jarValidation,testRuntimeClasspath
114+
org.apache.lucene:lucene-memory:10.4.0=jarValidation,testRuntimeClasspath
115+
org.apache.lucene:lucene-misc:10.4.0=jarValidation,testRuntimeClasspath
116+
org.apache.lucene:lucene-queries:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
117+
org.apache.lucene:lucene-queryparser:10.4.0=jarValidation,testRuntimeClasspath
118+
org.apache.lucene:lucene-sandbox:10.4.0=jarValidation,testRuntimeClasspath
119+
org.apache.lucene:lucene-spatial-extras:10.4.0=jarValidation,testRuntimeClasspath
120+
org.apache.lucene:lucene-spatial3d:10.4.0=jarValidation,testRuntimeClasspath
121+
org.apache.lucene:lucene-suggest:10.4.0=jarValidation,testRuntimeClasspath
122+
org.apache.lucene:lucene-test-framework:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
123123
org.apache.zookeeper:zookeeper-jute:3.9.4=jarValidation,testCompileClasspath,testRuntimeClasspath
124124
org.apache.zookeeper:zookeeper:3.9.4=jarValidation,testCompileClasspath,testRuntimeClasspath
125125
org.apiguardian:apiguardian-api:1.1.2=jarValidation,testRuntimeClasspath

solr/benchmark/gradle.lockfile

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -89,28 +89,28 @@ org.apache.httpcomponents:httpmime:4.5.14=jarValidation,runtimeClasspath,testRun
8989
org.apache.logging.log4j:log4j-api:2.25.3=jarValidation,runtimeClasspath,testRuntimeClasspath
9090
org.apache.logging.log4j:log4j-core:2.25.3=jarValidation,runtimeClasspath,testRuntimeClasspath
9191
org.apache.logging.log4j:log4j-slf4j2-impl:2.25.3=jarValidation,runtimeClasspath,testRuntimeClasspath
92-
org.apache.lucene:lucene-analysis-common:10.3.2=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
93-
org.apache.lucene:lucene-analysis-kuromoji:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
94-
org.apache.lucene:lucene-analysis-nori:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
95-
org.apache.lucene:lucene-analysis-phonetic:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
96-
org.apache.lucene:lucene-backward-codecs:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
97-
org.apache.lucene:lucene-classification:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
98-
org.apache.lucene:lucene-codecs:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
99-
org.apache.lucene:lucene-core:10.3.2=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
100-
org.apache.lucene:lucene-expressions:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
101-
org.apache.lucene:lucene-facet:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
102-
org.apache.lucene:lucene-grouping:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
103-
org.apache.lucene:lucene-highlighter:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
104-
org.apache.lucene:lucene-join:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
105-
org.apache.lucene:lucene-memory:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
106-
org.apache.lucene:lucene-misc:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
107-
org.apache.lucene:lucene-queries:10.3.2=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
108-
org.apache.lucene:lucene-queryparser:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
109-
org.apache.lucene:lucene-sandbox:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
110-
org.apache.lucene:lucene-spatial-extras:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
111-
org.apache.lucene:lucene-spatial3d:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
112-
org.apache.lucene:lucene-suggest:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
113-
org.apache.lucene:lucene-test-framework:10.3.2=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
92+
org.apache.lucene:lucene-analysis-common:10.4.0=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
93+
org.apache.lucene:lucene-analysis-kuromoji:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
94+
org.apache.lucene:lucene-analysis-nori:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
95+
org.apache.lucene:lucene-analysis-phonetic:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
96+
org.apache.lucene:lucene-backward-codecs:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
97+
org.apache.lucene:lucene-classification:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
98+
org.apache.lucene:lucene-codecs:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
99+
org.apache.lucene:lucene-core:10.4.0=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
100+
org.apache.lucene:lucene-expressions:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
101+
org.apache.lucene:lucene-facet:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
102+
org.apache.lucene:lucene-grouping:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
103+
org.apache.lucene:lucene-highlighter:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
104+
org.apache.lucene:lucene-join:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
105+
org.apache.lucene:lucene-memory:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
106+
org.apache.lucene:lucene-misc:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
107+
org.apache.lucene:lucene-queries:10.4.0=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
108+
org.apache.lucene:lucene-queryparser:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
109+
org.apache.lucene:lucene-sandbox:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
110+
org.apache.lucene:lucene-spatial-extras:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
111+
org.apache.lucene:lucene-spatial3d:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
112+
org.apache.lucene:lucene-suggest:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
113+
org.apache.lucene:lucene-test-framework:10.4.0=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
114114
org.apache.zookeeper:zookeeper-jute:3.9.4=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
115115
org.apache.zookeeper:zookeeper:3.9.4=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
116116
org.apiguardian:apiguardian-api:1.1.2=jarValidation,runtimeClasspath,testRuntimeClasspath

solr/core/gradle.lockfile

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -95,33 +95,33 @@ org.apache.httpcomponents:httpmime:4.5.14=jarValidation,testRuntimeClasspath
9595
org.apache.logging.log4j:log4j-api:2.25.3=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
9696
org.apache.logging.log4j:log4j-core:2.25.3=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
9797
org.apache.logging.log4j:log4j-slf4j2-impl:2.25.3=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
98-
org.apache.lucene:lucene-analysis-common:10.3.2=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
99-
org.apache.lucene:lucene-analysis-icu:10.3.2=jarValidation,testRuntimeClasspath
100-
org.apache.lucene:lucene-analysis-kuromoji:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
101-
org.apache.lucene:lucene-analysis-morfologik:10.3.2=jarValidation,testRuntimeClasspath
102-
org.apache.lucene:lucene-analysis-nori:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
103-
org.apache.lucene:lucene-analysis-opennlp:10.3.2=jarValidation,testRuntimeClasspath
104-
org.apache.lucene:lucene-analysis-phonetic:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
105-
org.apache.lucene:lucene-analysis-smartcn:10.3.2=jarValidation,testRuntimeClasspath
106-
org.apache.lucene:lucene-analysis-stempel:10.3.2=jarValidation,testRuntimeClasspath
107-
org.apache.lucene:lucene-backward-codecs:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
108-
org.apache.lucene:lucene-classification:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
109-
org.apache.lucene:lucene-codecs:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
110-
org.apache.lucene:lucene-core:10.3.2=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
111-
org.apache.lucene:lucene-expressions:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
112-
org.apache.lucene:lucene-facet:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
113-
org.apache.lucene:lucene-grouping:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
114-
org.apache.lucene:lucene-highlighter:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
115-
org.apache.lucene:lucene-join:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
116-
org.apache.lucene:lucene-memory:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
117-
org.apache.lucene:lucene-misc:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
118-
org.apache.lucene:lucene-queries:10.3.2=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
119-
org.apache.lucene:lucene-queryparser:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
120-
org.apache.lucene:lucene-sandbox:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
121-
org.apache.lucene:lucene-spatial-extras:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
122-
org.apache.lucene:lucene-spatial3d:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
123-
org.apache.lucene:lucene-suggest:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
124-
org.apache.lucene:lucene-test-framework:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
98+
org.apache.lucene:lucene-analysis-common:10.4.0=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
99+
org.apache.lucene:lucene-analysis-icu:10.4.0=jarValidation,testRuntimeClasspath
100+
org.apache.lucene:lucene-analysis-kuromoji:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
101+
org.apache.lucene:lucene-analysis-morfologik:10.4.0=jarValidation,testRuntimeClasspath
102+
org.apache.lucene:lucene-analysis-nori:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
103+
org.apache.lucene:lucene-analysis-opennlp:10.4.0=jarValidation,testRuntimeClasspath
104+
org.apache.lucene:lucene-analysis-phonetic:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
105+
org.apache.lucene:lucene-analysis-smartcn:10.4.0=jarValidation,testRuntimeClasspath
106+
org.apache.lucene:lucene-analysis-stempel:10.4.0=jarValidation,testRuntimeClasspath
107+
org.apache.lucene:lucene-backward-codecs:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
108+
org.apache.lucene:lucene-classification:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
109+
org.apache.lucene:lucene-codecs:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
110+
org.apache.lucene:lucene-core:10.4.0=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
111+
org.apache.lucene:lucene-expressions:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
112+
org.apache.lucene:lucene-facet:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
113+
org.apache.lucene:lucene-grouping:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
114+
org.apache.lucene:lucene-highlighter:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
115+
org.apache.lucene:lucene-join:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
116+
org.apache.lucene:lucene-memory:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
117+
org.apache.lucene:lucene-misc:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
118+
org.apache.lucene:lucene-queries:10.4.0=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
119+
org.apache.lucene:lucene-queryparser:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
120+
org.apache.lucene:lucene-sandbox:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
121+
org.apache.lucene:lucene-spatial-extras:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
122+
org.apache.lucene:lucene-spatial3d:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
123+
org.apache.lucene:lucene-suggest:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
124+
org.apache.lucene:lucene-test-framework:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
125125
org.apache.opennlp:opennlp-dl:2.5.6=jarValidation,testRuntimeClasspath
126126
org.apache.opennlp:opennlp-tools:2.5.6=jarValidation,testRuntimeClasspath
127127
org.apache.zookeeper:zookeeper-jute:3.9.4=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath

solr/core/src/java/org/apache/solr/core/SchemaCodecFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
import org.apache.lucene.codecs.KnnVectorsReader;
2727
import org.apache.lucene.codecs.KnnVectorsWriter;
2828
import org.apache.lucene.codecs.PostingsFormat;
29-
import org.apache.lucene.codecs.lucene103.Lucene103Codec;
30-
import org.apache.lucene.codecs.lucene103.Lucene103Codec.Mode;
29+
import org.apache.lucene.codecs.lucene104.Lucene104Codec;
30+
import org.apache.lucene.codecs.lucene104.Lucene104Codec.Mode;
3131
import org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsFormat;
3232
import org.apache.lucene.index.SegmentReadState;
3333
import org.apache.lucene.index.SegmentWriteState;
@@ -97,7 +97,7 @@ public void init(NamedList<?> args) {
9797
log.debug("Using default compressionMode: {}", compressionMode);
9898
}
9999
codec =
100-
new Lucene103Codec(compressionMode) {
100+
new Lucene104Codec(compressionMode) {
101101
@Override
102102
public PostingsFormat getPostingsFormatForField(String field) {
103103
final SchemaField schemaField = core.getLatestSchema().getFieldOrNull(field);

0 commit comments

Comments
 (0)