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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
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


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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

     [ 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Koji Sekiguchi commented on SOLR-1956:
--------------------------------------

I've committed Mark's fix on branch_3x, revision 962743.
I'd like to leave this ticket open until we solve it for trunk.

> 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: [hidden email]
For additional commands, e-mail: [hidden email]