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

Lazy Atomic Loading Stopwords in SmartCN

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 3.0
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      The default constructor in SmartChineseAnalyzer loads the default (jar embedded) stopwords each time the constructor is invoked.
      This should be atomically loaded only once in an unmodifiable set.

        Attachments

        1. LUCENE-1965.patch
          6 kB
          Simon Willnauer
        2. LUCENE-1965.patch
          6 kB
          Simon Willnauer

          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: