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

Lazy Atomic Loading Stopwords in SmartCN

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.9
    • 3.0
    • modules/analysis
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: