Lucene - Core
  1. Lucene - Core
  2. LUCENE-1965

Lazy Atomic Loading Stopwords in SmartCN

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial 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.

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

        Activity

        Shai Erera made changes -
        Component/s modules/analysis [ 12310230 ]
        Component/s contrib/analyzers [ 12312333 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12562610 ] jira [ 12583561 ]
        Mark Thomas made changes -
        Workflow jira [ 12478987 ] Default workflow, editable Closed status [ 12562610 ]
        Simon Willnauer made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Simon Willnauer made changes -
        Attachment LUCENE-1965.patch [ 12421650 ]
        Simon Willnauer made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Simon Willnauer made changes -
        Field Original Value New Value
        Attachment LUCENE-1965.patch [ 12421646 ]
        Simon Willnauer created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development