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

Small performance enhancement for StandardAnalyzer

    XMLWordPrintableJSON

    Details

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

      Description

      The class StandardAnalyzer has an inner class, SavedStreams, which is used internally for maintaining some state. This class doesn't use the implicit reference to the enclosing class, so it can be made static and reduce some memory requirements. A patch will be attached shortly.

        Attachments

        1. StandardAnalyzer.diff
          0.7 kB
          Nathan Beyer

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nbeyer Nathan Beyer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: