You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2010/07/08 23:30:50 UTC
[jira] Updated: (SOLR-1956) luke cannot be launched by ant luke
[ https://issues.apache.org/jira/browse/SOLR-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller updated SOLR-1956:
------------------------------
Attachment: SOLR-1956.patch
This should solve the initial problems - it will let you run the luke target from a clean install - it doesn't solve the problem with the analyzers though - I think we need a newer version of Luke - the trunk version on google code does support flex.
> 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
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org