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

Make ShingleAnalyzerWrapper and PerFieldAnalyzerWrapper immutable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5, 4.0-ALPHA
    • modules/analysis
    • None
    • New

    Description

      Both ShingleAnalyzerWrapper and PerFieldAnalyzerWrapper have setters which change some state which impacts their analysis stack. If these are going to become reusable, then the state must be immutable as changing it will have no effect.

      Process will be similar to QueryAutoStopWordAnalyzer, I will remove in trunk and deprecate in 3x.

      Attachments

        1. LUCENE-3434-3x.patch
          17 kB
          Chris Male
        2. LUCENE-3434-trunk.patch
          21 kB
          Chris Male

        Activity

          People

            cmale Chris Male
            cmale Chris Male
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: