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

Regenerate Snowball code so its not so heavy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-BETA, 6.0
    • None
    • None
    • New

    Description

      Spinoff from LUCENE-3841 (and several threads on the list)

      Currently each SnowballStemmer is pretty heavy since each instance also contains a bunch of Among objects (part of the stemming rules).

      This normally shouldnt be a problem, except it seems challenging
      for tomcat users to tune their threadpools (basically they are creating
      lots of tokenstreams, so lots of SnowballStemmers)

      Newer snowball just makes these static, and its easy enough to just
      regenerate so these aren't so heavy, it doesnt fix the real problem but it also doesn't hurt.

      Attachments

        1. LUCENE-4279.patch
          1.58 MB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: