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

give solr/contrib/analysis-extras's test classes access to lucene/analysis's test classes

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6, 6.2, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      patch summary:

      added proof-of-concept test:

      • made ICUCollationField's private createFromRules static with package visibility
      • added createFromRules test to TestICUCollationField (which sometimes uses lucene/analysis/util's StringMockResourceLoader class)

      build xml files (ant):

      • added -compile-test-lucene-analysis dependency to compile-test target in solr/contrib/analysis-extras
      • defined -compile-test-lucene-analysis target in solr/common-build.xml

      pom xml templates (maven):

      • added test-jar goal to pom.xml.template in lucene/analysis/common
      • added lucene-analyzers-common dependency to pom.xml.template in solr/contrib/analysis-extras

        Attachments

        1. SOLR-9306.patch
          6 kB
          Christine Poerschke

          Issue Links

            Activity

              People

              • Assignee:
                cpoerschke Christine Poerschke
                Reporter:
                cpoerschke Christine Poerschke
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: