[ 
https://issues.apache.org/jira/browse/SOLR-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419475#comment-13419475
 ] 

Hoss Man commented on SOLR-3623:
--------------------------------

Hmm .. ok, something wonky here i'm missing.

I started by trying to do the following....

{noformat}
svn mv 
solr/contrib/analysis-extras/src/java/org/apache/solr/analysis/MorfologikFilterFactory.java
 solr/core/src/java/org/apache/solr/analysis/
svn mv 
solr/contrib/analysis-extras/src/java/org/apache/solr/analysis/SmartChineseSentenceTokenizerFactory.java
 solr/core/src/java/org/apache/solr/analysis/
svn mv 
solr/contrib/analysis-extras/src/java/org/apache/solr/analysis/SmartChineseWordTokenFilterFactory.java
 solr/core/src/java/org/apache/solr/analysis/
svn mv 
solr/contrib/analysis-extras/src/java/org/apache/solr/analysis/StempelPolishStemFilterFactory.java
 solr/core/src/java/org/apache/solr/analysis/
svn mv 
solr/contrib/analysis-extras/src/test/org/apache/solr/analysis/TestMorfologikFilterFactory.java
 solr/core/src/test/org/apache/solr/analysis/
svn mv 
solr/contrib/analysis-extras/src/test/org/apache/solr/analysis/TestSmartChineseFactories.java
 solr/core/src/test/org/apache/solr/analysis/
cd solr/core
ant test -Dtests.class=\*.analysis.\*
{noformat}

...my understanding being that the morfologik jars and their lucene 
counterparts should already be in solr core, so these solr classes and tests 
should be able to move over w/o any other changes. right?

But this is causing all sorts of compilation failures related to not finding 
packages/classes like morfologik.stemming.PolishStemmer, 
org.apache.lucene.analysis.cn.smart.\*, org.apache.lucene.analysis.stempel.\*, 
etc...

So clearly i'm missing something here in how these dependent jars and 
classpaths are setup (i haven't looked ath te build system closely since the 
ivy change) so i'll have to dig into this more later today.

(posting this now in slim hope that sarowe or rmuir see it and say "oh, yeah - 
the thing you are overlooking is...")
                
> analysis-extras lucene libraries are redundenly packaged (in war and in 
> lucene-libs)
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-3623
>                 URL: https://issues.apache.org/jira/browse/SOLR-3623
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>            Reporter: Lance Norskog
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 4.0, 5.0
>
>
> Various dependencies for contrib/analysis-extras are packaged 
> contrib/analysis-extras/lucene-libs (along with instructions in 
> contrib/analysis-extras/README.txt that users need to include them 
> explicitly) even though these jars are already hardcoded into the solr war 
> file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to