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

make BaseCharFilter more efficient in performance

    Details

    • Lucene Fields:
      New, Patch Available

      Description

      Performance degradation in Solr 1.4 was reported. See:

      http://www.lucidimagination.com/search/document/43c4bdaf5c9ec98d/html_stripping_slower_in_solr_1_4

      The inefficiency has been pointed out in BaseCharFilter javadoc by Mike:

      NOTE: This class is not particularly efficient. For example, a new class instance is created for every call to addOffCorrectMap(int, int), which is then appended to a private list.

        Attachments

        1. LUCENE-2098.patch
          4 kB
          Koji Sekiguchi
        2. LUCENE-2098.patch
          4 kB
          Robert Muir
        3. LUCENE-2098.patch
          2 kB
          Robert Muir

          Activity

            People

            • Assignee:
              rcmuir Robert Muir
              Reporter:
              koji Koji Sekiguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: