Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1956

luke cannot be launched by ant luke

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • 3.1, 4.0-ALPHA
    • None
    • None
    • None

    Description

      After merging Lucene/Solr, we need to compile lucene/solr manually to launch luke.

      For branch_3x:

      $ 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
      

      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?):

      $ ant luke
      => Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/analysis/SimpleAnalyzer
      

      So I'd like to fix it for branch_3x for luke-1.0.1 at the beginning.

      Attachments

        1. SOLR-1956.patch
          1 kB
          Mark Miller

        Activity

          People

            Unassigned Unassigned
            koji Koji Sekiguchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: