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"),