From 5e94f201faa373930aa0b98581c6cd2b3effa859 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:15:41 +0000 Subject: [PATCH] Bump luceneVersion from 10.0.0 to 10.1.0 (#12332) * Bump luceneVersion from 10.0.0 to 10.1.0 Bumps `luceneVersion` from 10.0.0 to 10.1.0. Updates `org.apache.lucene:lucene-core` from 10.0.0 to 10.1.0 Updates `org.apache.lucene:lucene-queryparser` from 10.0.0 to 10.1.0 Updates `org.apache.lucene:lucene-queries` from 10.0.0 to 10.1.0 Updates `org.apache.lucene:lucene-analysis-common` from 10.0.0 to 10.1.0 Updates `org.apache.lucene:lucene-highlighter` from 10.0.0 to 10.1.0 --- updated-dependencies: - dependency-name: org.apache.lucene:lucene-core dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.apache.lucene:lucene-queryparser dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.apache.lucene:lucene-queries dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.apache.lucene:lucene-analysis-common dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.apache.lucene:lucene-highlighter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * update index version and module info --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Siedlerchr --- build.gradle | 2 +- src/main/java/module-info.java | 2 +- src/main/java/org/jabref/model/search/LinkedFilesConstants.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index d277f24b9d3..87767e41711 100644 --- a/build.gradle +++ b/build.gradle @@ -172,7 +172,7 @@ dependencies { exclude group: 'commons-logging' } - def luceneVersion = "10.0.0" + def luceneVersion = "10.1.0" implementation "org.apache.lucene:lucene-core:$luceneVersion" implementation "org.apache.lucene:lucene-queryparser:$luceneVersion" implementation "org.apache.lucene:lucene-queries:$luceneVersion" diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index f0151b8988e..ccb2f386829 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -167,7 +167,7 @@ /* * In case the version is updated, please also increment {@link org.jabref.model.search.LinkedFilesConstants.VERSION} to trigger reindexing. */ - uses org.apache.lucene.codecs.lucene100.Lucene100Codec; + uses org.apache.lucene.codecs.lucene101.Lucene101Codec; requires org.apache.lucene.analysis.common; requires org.apache.lucene.core; requires org.apache.lucene.highlighter; diff --git a/src/main/java/org/jabref/model/search/LinkedFilesConstants.java b/src/main/java/org/jabref/model/search/LinkedFilesConstants.java index 873cb5717c9..eb5d7c275f7 100644 --- a/src/main/java/org/jabref/model/search/LinkedFilesConstants.java +++ b/src/main/java/org/jabref/model/search/LinkedFilesConstants.java @@ -13,7 +13,7 @@ public enum LinkedFilesConstants { * 2. Lucene codec changes (see module-info.java Lucene section) * Incrementing triggers reindexing. */ - VERSION("3"), + VERSION("4"), PATH("path"), CONTENT("content"), ANNOTATIONS("annotations"),