You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/07/09 00:31:50 UTC

[jira] Commented: (SOLR-1956) luke cannot be launched by ant luke

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

Robert Muir commented on SOLR-1956:
-----------------------------------

bq. it doesn't solve the problem with the analyzers though

yes, when analyzers were merged under one module (there is really a lot in there now!), i sorta arbitrarily changed some packages to try to keep some organization.
contrib/analyzers had everything nicely organized under packages, but lucene-core and solr had them all smashed together in one analysis package each...

you can see all the changed packages here: http://svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/CHANGES.txt?view=markup

I think organization and package naming is pretty important, but if its gonna cause problems maybe there are better ideas... maybe better package names too, I'm
not sure they are really the best...


> 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