[
https://issues.apache.org/jira/browse/SOLR-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701237#comment-14701237
]
Jan Høydahl commented on SOLR-1956:
-----------------------------------
Luke moved to github and is released as a zip file now (for 5.2). I managed to
patch build.xml to fetch and unzip, but it cannot open 5.3 index since lucene
classes are bundled in the distro. Removing all lucene* and solr* classes from
jar makes it run, but all this feels a bit shaky. Do we still need a "luke"
taget?
> luke cannot be launched by ant luke
> -----------------------------------
>
> Key: SOLR-1956
> URL: https://issues.apache.org/jira/browse/SOLR-1956
> Project: Solr
> Issue Type: Bug
> Affects Versions: 3.1, 4.0-ALPHA
> Reporter: Koji Sekiguchi
> Priority: Trivial
> Attachments: SOLR-1956.patch
>
>
> After merging Lucene/Solr, we need to compile lucene/solr manually to launch
> luke.
> For branch_3x:
> {code}
> $ cd solr
> $ ant luke
> => Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/lucene/search/Collector
> $ ant compile
> $ ant luke
> => Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/lucene/xmlparser/CoreParser
> $ cd ../lucene/contrib/xml-query-parser
> $ ant
> $ cd ../../../solr
> $ ant luke
> => luke can be launched
> {code}
> For trunk, it seems that luke-1.0.1 uses o.a.l.a.SimpleAnalyzer, but the
> class has been changed package name to o.a.l.a.core (and luke-1.0.1 doesn't
> support flex in the first place?):
> {code}
> $ ant luke
> => Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/lucene/analysis/SimpleAnalyzer
> {code}
> So I'd like to fix it for branch_3x for luke-1.0.1 at the beginning.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]