Author SHA1 Message Date
Jacques Le Roux 305f2c5abb Fixed: Update Solr and Lucene to address several CVEs (including Log4j) (OFBIZ-12464)
Solr and Lucene 8.11.1 are now available in Maven Central
2021-12-18 17:02:51 +01:00
Jacques Le Roux f000c69a0d Fixed: Update Solr and Lucene to address several CVEs (including Log4j) (OFBIZ-12464)
Solr is not yet available on Maven :/

We will also need to update Tika, and I guess the list will continue...

Conflicts handled by hand in lucene/build.gradle
2021-12-17 05:20:38 +01:00
Jacques Le Roux d0f98efd7d Fixed: Update Solr and Lucene to address several CVEs (including Log4j) (OFBIZ-12464)
See SOLR-15843 and
https://solr.apache.org/guide/8_11/solr-upgrade-notes.html
https://solr.apache.org/docs/8_11_1/changes/Changes.html#v8.11.1.bug_fixes

Also fixes luceneMatchVersion in solrconfig.xml, was forgotten last times
And clarifies comments about that

Conflicts handled by hand lucene/build.gradle
2021-12-16 17:50:47 +01:00
Jacques Le Roux b5663ec6c2 Improved: Upgrade Solr and Lucene to 8.11 (OFBIZ-12388)
https://solr.apache.org/docs/8_11_0/changes/Changes.html

Conflicts handled by hand in lucene/build.gradle
2021-12-16 17:48:59 +01:00
4 changed files with 12 additions and 10 deletions
+6 -5
View File
@@ -17,9 +17,10 @@
* under the License.
*/
dependencies {
// Remember to change the version number in SearchWorker class when upgrading.
// Also Solr et Lucene should use the same version, luceneMatchVersion should be updated in solrconfig.xml
pluginLibsCompile 'org.apache.lucene:lucene-core:8.9.0'
pluginLibsCompile 'org.apache.lucene:lucene-queryparser:8.9.0'
pluginLibsCompile 'org.apache.lucene:lucene-analyzers-common:8.9.0'
// 1. Remember to change the version LUCENE_VERSION in SearchWorker class when upgrading.
// 2. luceneMatchVersion should be updated in solrconfig.xml
// 3. Also Solr et Lucene should use the same version,
pluginLibsCompile 'org.apache.lucene:lucene-core:8.11.1'
pluginLibsCompile 'org.apache.lucene:lucene-queryparser:8.11.1'
pluginLibsCompile 'org.apache.lucene:lucene-analyzers-common:8.11.1'
}
@@ -41,7 +41,7 @@ public final class SearchWorker {
public static final String module = SearchWorker.class.getName();
private static final Version LUCENE_VERSION = Version.LUCENE_8_9_0;
private static final Version LUCENE_VERSION = Version.LUCENE_8_11_1;
private SearchWorker() {}
+4 -3
View File
@@ -17,9 +17,10 @@
* under the License.
*/
dependencies {
// Remember to change the version number in SearchWorker class when upgrading.
// Also Solr et Lucene should use the same version, luceneMatchVersion should be updated in solrconfig.xml
pluginLibsCompile 'org.apache.solr:solr-core:8.9.0'
// 1. Remember to change the version LUCENE_VERSION in SearchWorker class when upgrading.
// 2. luceneMatchVersion should be updated in solrconfig.xml
// 3. Also Solr et Lucene should use the same version,
pluginLibsCompile 'org.apache.solr:solr-core:8.11.1'
pluginLibsCompile 'com.google.guava:guava:28.0-jre'
}
+1 -1
View File
@@ -35,7 +35,7 @@
that you fully re-index after changing this setting as it can
affect both how text is indexed and queried.
-->
<luceneMatchVersion>8.9.0</luceneMatchVersion>
<luceneMatchVersion>8.11.1</luceneMatchVersion>
<!-- <lib/> directives can be used to instruct Solr to load any Jars
identified and use them to resolve any "plugins" specified in