From 4097a3219c8ac58ae20f8dd529ea041a9faafbe4 Mon Sep 17 00:00:00 2001 From: Steven Rowe Date: Sat, 28 Sep 2013 11:54:35 +0000 Subject: [PATCH] SOLR-5286: revert changes committed on this issue; the internal and 3rd party dependencies in the analysis-extras contrib are used to put these jars into the Solr distribution. I didn't revert the compile step building the depended-on Lucene modules, since they aren't needed for compilation. I added comments in build.xml and ivy.xml telling people not to do this again. I reworded the README.txt to explain dependencies per feature instead of lumping them all together. I did not revert the pom.xml.template changes, since the dependencies are not required for compilation or runtime use of the code in the analysis-extras contrib. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527175 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 3 --- solr/contrib/analysis-extras/README.txt | 13 ++++++++----- solr/contrib/analysis-extras/build.xml | 17 ++++++++++++++++- solr/contrib/analysis-extras/ivy.xml | 8 ++++++++ 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index fa260479c02..2e70367986a 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -342,9 +342,6 @@ Other Changes * SOLR-5173: Solr-core's Maven configuration includes test-only Hadoop dependencies as indirect compile-time dependencies. (Chris Collins, Steve Rowe) - -* SOLR-5286: Remove vestigial Chinese and Polish analysis jars from the - analysis-extras contrib configuration. (Steve Rowe) ================== 4.4.0 ================== diff --git a/solr/contrib/analysis-extras/README.txt b/solr/contrib/analysis-extras/README.txt index 7f80e47fdbc..38634205710 100644 --- a/solr/contrib/analysis-extras/README.txt +++ b/solr/contrib/analysis-extras/README.txt @@ -1,13 +1,16 @@ The analysis-extras plugin provides additional analyzers that rely upon large dependencies/dictionaries. -It includes integration with ICU for multilingual support. +It includes integration with ICU for multilingual support, and +analyzers for Chinese and Polish. -Relies upon the following lucene component (in lucene-libs/): +ICU relies upon lucene-libs/lucene-analyzers-icu-X.Y.jar +and lib/icu4j-X.Y.jar - * lucene-analyzers-icu-X.Y.jar +Smartcn relies upon lucene-libs/lucene-analyzers-smartcn-X.Y.jar -And the following third-party library (in lib/): +Stempel relies on lucene-libs/lucene-analyzers-stempel-X.Y.jar - * icu4j-X.Y.jar +Morfologik relies on lucene-libs/lucene-analyzers-morfologik-X.Y.jar +and lib/morfologik-*.jar diff --git a/solr/contrib/analysis-extras/build.xml b/solr/contrib/analysis-extras/build.xml index 379e360bf40..2bee5c584a8 100644 --- a/solr/contrib/analysis-extras/build.xml +++ b/solr/contrib/analysis-extras/build.xml @@ -27,6 +27,14 @@ + + + + @@ -35,7 +43,14 @@ - + + + diff --git a/solr/contrib/analysis-extras/ivy.xml b/solr/contrib/analysis-extras/ivy.xml index a1afdb027da..1b58b0f67f0 100644 --- a/solr/contrib/analysis-extras/ivy.xml +++ b/solr/contrib/analysis-extras/ivy.xml @@ -20,6 +20,14 @@ + + + +