Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1728

Move SmartChineseAnalyzer & resources to own contrib project

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      SmartChineseAnalyzer depends on a large dictionary that causes the analyzer jar to grow up to 3MB. The dictionary is quite big compared to all the other resouces / class files contained in that jar.
      Having a separate analyzer-cn contrib project enables footprint-sensitive users (e.g. using lucene on a mobile phone) to include analyzer.jar without getting into trouble with disk space.

      Moving SmartChineseAnalyzer to a separate project could also include a small refactoring as Robert mentioned in LUCENE-1722 several classes should be package protected, members and classes could be final, commented syserr and logging code should be removed etc.

      I set this issue target to 2.9 - if we can not make it until then feel free to move it to 3.0

        Attachments

        1. LUCENE-1728.txt
          53 kB
          Robert Muir
        2. LUCENE-1728.txt
          43 kB
          Robert Muir
        3. LUCENE-1728.txt
          43 kB
          Robert Muir
        4. LUCENE-1728.txt
          43 kB
          Robert Muir

          Activity

            People

            • Assignee:
              simonw Simon Willnauer
              Reporter:
              simonw Simon Willnauer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: