Skip to content

Commit c69bc8f

Browse files
committed
Fixed: Announce 17.12.09 EOL (OFBIZ-12479)
Includes: Update Solr and Lucene to address several CVEs (including Log4j) (OFBIZ-12464)
1 parent e778e45 commit c69bc8f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lucene/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
dependencies {
2020
// Remember to change the version number in SearchWorker class when upgrading.
2121
// Also Solr et Lucene should use the same version, luceneMatchVersion should be updated in solrconfig.xml
22-
pluginLibsCompile 'org.apache.lucene:lucene-core:8.9.0'
23-
pluginLibsCompile 'org.apache.lucene:lucene-queryparser:8.9.0'
24-
pluginLibsCompile 'org.apache.lucene:lucene-analyzers-common:8.9.0'
22+
pluginLibsCompile 'org.apache.lucene:lucene-core:8.11.1'
23+
pluginLibsCompile 'org.apache.lucene:lucene-queryparser:8.11.1'
24+
pluginLibsCompile 'org.apache.lucene:lucene-analyzers-common:8.11.1'
2525
}

lucene/src/main/java/org/apache/ofbiz/content/search/SearchWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public final class SearchWorker {
4141

4242
public static final String module = SearchWorker.class.getName();
4343

44-
private static final Version LUCENE_VERSION = Version.LUCENE_8_9_0;
44+
private static final Version LUCENE_VERSION = Version.LUCENE_8_11_1;
4545

4646
private SearchWorker() {}
4747

solr/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
dependencies {
2020
// Remember to change the version number in SearchWorker class when upgrading.
2121
// Also Solr et Lucene should use the same version, luceneMatchVersion should be updated in solrconfig.xml
22-
pluginLibsCompile 'org.apache.solr:solr-core:8.9.0'
22+
pluginLibsCompile 'org.apache.solr:solr-core:8.11.1'
2323
pluginLibsCompile 'com.google.guava:guava:28.0-jre'
2424
}
2525

solr/home/solrdefault/conf/solrconfig.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
that you fully re-index after changing this setting as it can
3636
affect both how text is indexed and queried.
3737
-->
38-
<luceneMatchVersion>8.9.0</luceneMatchVersion>
38+
<luceneMatchVersion>8.11.1</luceneMatchVersion>
3939

4040
<!-- <lib/> directives can be used to instruct Solr to load any Jars
4141
identified and use them to resolve any "plugins" specified in

0 commit comments

Comments
 (0)