Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions changelog/unreleased/SOLR-18143-Upgrade-to-lucene1040.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc
title: Upgrade to Lucene 10.4
type: dependency_update
authors:
- name: Rahul Goswami
links:
- name: SOLR-18143
url: https://issues.apache.org/jira/browse/SOLR-18143
9 changes: 5 additions & 4 deletions dev-docs/lucene-upgrade.md
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember the discussion thread about a Lucene upgrade that includes a Codec update, and needing to broadcast this fact in the upgrade notes page? This markdown file should explicitly add this step.

Copy link
Copy Markdown
Member Author

@rahulgoswami rahulgoswami Mar 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I remember a discussion thread regarding this. Quick search on the dev list wasn't helpful either. No mention of codec changes in the current solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc either. Do you have a link to the discussion ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the message I wrote in response to Jan's thread.

Copy link
Copy Markdown
Member Author

@rahulgoswami rahulgoswami Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that one! Added changes in major-changes-in-solr-10.adoc and lucene-upgrade.md to that effect. Thanks.

Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ https://lucene.apache.org/core/9_4_0/MIGRATE.html

## Start

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

## Build

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

```
- org.apache.lucene:*=9.3.0
+ org.apache.lucene:*=9.4.0
- apache-lucene:*=10.3.0
+ apache-lucene:*=10.4.0
```

### lockfiles update
Expand Down Expand Up @@ -60,7 +60,8 @@ git add solr/licenses
* additional abstract base class or interface methods
* inner classes becoming outer classes
* codec changes (if any)
* conceptually `s/org.apache.lucene.codecs.lucene9x.Lucene9x/org.apache.lucene.codecs.lucene94.Lucene94`
* conceptually `s/org.apache.lucene.codecs.lucene10x.Lucene10x/org.apache.lucene.codecs.lucene104.Lucene104`
* 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

## Test

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ apache-httpcomponents-httpcore = "4.4.16"
apache-httpcomponents-httpmime = "4.5.14"
apache-kafka = "3.9.1"
apache-log4j = "2.25.3"
apache-lucene = "10.3.2"
apache-lucene = "10.4.0"
apache-opennlp = "2.5.6"
apache-rat = "0.15"
apache-tika = "3.2.3"
Expand Down
44 changes: 22 additions & 22 deletions solr/api/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,28 +98,28 @@ org.apache.httpcomponents:httpmime:4.5.14=jarValidation,testRuntimeClasspath
org.apache.logging.log4j:log4j-api:2.25.3=jarValidation,testRuntimeClasspath
org.apache.logging.log4j:log4j-core:2.25.3=jarValidation,testRuntimeClasspath
org.apache.logging.log4j:log4j-slf4j2-impl:2.25.3=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-common:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-kuromoji:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-nori:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-phonetic:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-backward-codecs:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-classification:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-codecs:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-core:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-expressions:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-facet:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-grouping:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-highlighter:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-join:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-memory:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-misc:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-queries:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queryparser:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-sandbox:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-spatial-extras:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-spatial3d:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-suggest:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-test-framework:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-common:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-kuromoji:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-nori:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-phonetic:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-backward-codecs:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-classification:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-codecs:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-core:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-expressions:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-facet:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-grouping:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-highlighter:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-join:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-memory:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-misc:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-queries:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queryparser:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-sandbox:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-spatial-extras:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-spatial3d:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-suggest:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-test-framework:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.zookeeper:zookeeper-jute:3.9.4=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.zookeeper:zookeeper:3.9.4=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apiguardian:apiguardian-api:1.1.2=jarValidation,testRuntimeClasspath
Expand Down
44 changes: 22 additions & 22 deletions solr/benchmark/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,28 +89,28 @@ org.apache.httpcomponents:httpmime:4.5.14=jarValidation,runtimeClasspath,testRun
org.apache.logging.log4j:log4j-api:2.25.3=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-core:2.25.3=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-slf4j2-impl:2.25.3=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-common:10.3.2=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-kuromoji:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-nori:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-phonetic:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-backward-codecs:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-classification:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-codecs:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-core:10.3.2=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-expressions:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-facet:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-grouping:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-highlighter:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-join:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-memory:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-misc:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queries:10.3.2=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queryparser:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-sandbox:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-spatial-extras:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-spatial3d:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-suggest:10.3.2=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-test-framework:10.3.2=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-common:10.4.0=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-kuromoji:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-nori:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-phonetic:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-backward-codecs:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-classification:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-codecs:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-core:10.4.0=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-expressions:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-facet:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-grouping:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-highlighter:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-join:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-memory:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-misc:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queries:10.4.0=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queryparser:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-sandbox:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-spatial-extras:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-spatial3d:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-suggest:10.4.0=jarValidation,runtimeClasspath,testRuntimeClasspath
org.apache.lucene:lucene-test-framework:10.4.0=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.zookeeper:zookeeper-jute:3.9.4=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.zookeeper:zookeeper:3.9.4=compileClasspath,jarValidation,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apiguardian:apiguardian-api:1.1.2=jarValidation,runtimeClasspath,testRuntimeClasspath
Expand Down
54 changes: 27 additions & 27 deletions solr/core/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,33 +95,33 @@ org.apache.httpcomponents:httpmime:4.5.14=jarValidation,testRuntimeClasspath
org.apache.logging.log4j:log4j-api:2.25.3=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-core:2.25.3=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-slf4j2-impl:2.25.3=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-common:10.3.2=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-icu:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-kuromoji:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-morfologik:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-nori:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-opennlp:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-phonetic:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-smartcn:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-stempel:10.3.2=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-backward-codecs:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-classification:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-codecs:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-core:10.3.2=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-expressions:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-facet:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-grouping:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-highlighter:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-join:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-memory:10.3.2=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-misc:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queries:10.3.2=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queryparser:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-sandbox:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-spatial-extras:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-spatial3d:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-suggest:10.3.2=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-test-framework:10.3.2=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-common:10.4.0=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-analysis-icu:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-kuromoji:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-morfologik:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-nori:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-opennlp:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-phonetic:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-smartcn:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-analysis-stempel:10.4.0=jarValidation,testRuntimeClasspath
org.apache.lucene:lucene-backward-codecs:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-classification:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-codecs:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-core:10.4.0=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-expressions:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-facet:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-grouping:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-highlighter:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-join:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-memory:10.4.0=jarValidation,runtimeClasspath,runtimeLibs,testRuntimeClasspath
org.apache.lucene:lucene-misc:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queries:10.4.0=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-queryparser:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-sandbox:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-spatial-extras:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-spatial3d:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-suggest:10.4.0=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-test-framework:10.4.0=jarValidation,testCompileClasspath,testRuntimeClasspath
org.apache.opennlp:opennlp-dl:2.5.6=jarValidation,testRuntimeClasspath
org.apache.opennlp:opennlp-tools:2.5.6=jarValidation,testRuntimeClasspath
org.apache.zookeeper:zookeeper-jute:3.9.4=apiHelper,compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,testCompileClasspath,testRuntimeClasspath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
import org.apache.lucene.codecs.KnnVectorsReader;
import org.apache.lucene.codecs.KnnVectorsWriter;
import org.apache.lucene.codecs.PostingsFormat;
import org.apache.lucene.codecs.lucene103.Lucene103Codec;
import org.apache.lucene.codecs.lucene103.Lucene103Codec.Mode;
import org.apache.lucene.codecs.lucene104.Lucene104Codec;
import org.apache.lucene.codecs.lucene104.Lucene104Codec.Mode;
import org.apache.lucene.codecs.lucene99.Lucene99HnswVectorsFormat;
import org.apache.lucene.index.SegmentReadState;
import org.apache.lucene.index.SegmentWriteState;
Expand Down Expand Up @@ -97,7 +97,7 @@ public void init(NamedList<?> args) {
log.debug("Using default compressionMode: {}", compressionMode);
}
codec =
new Lucene103Codec(compressionMode) {
new Lucene104Codec(compressionMode) {
@Override
public PostingsFormat getPostingsFormatForField(String field) {
final SchemaField schemaField = core.getLatestSchema().getFieldOrNull(field);
Expand Down
Loading
Loading