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

upgrade maven poms to reference lucene 2.9 artifacts rather than solr-lucene artifacts

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      Currently, the solr pom.xml files reference solr-lucene jar files. Rather then reference the solr jars, we should reference the real lucene jar files.

      Additionally, we need to add a reference to "lucene-memory" so we avoid:

      java.lang.NoClassDefFoundError: org/apache/lucene/index/memory/MemoryIndex
      	at org.apache.lucene.search.highlight.WeightedSpanTermExtractor.getReaderForField(WeightedSpanTermExtractor.java:313)
      	at org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extractWeightedSpanTerms(WeightedSpanTermExtractor.java:239)
      

        Attachments

        1. SOLR-1472-maven-cleanup.patch
          16 kB
          Ryan McKinley

          Activity

            People

            • Assignee:
              ryantxu Ryan McKinley
              Reporter:
              ryantxu Ryan McKinley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: