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

MappingCharFilter could be improved by switching to an FST.

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • New

    Description

      MappingCharFilter stores an overly complex tree-like structure for matching input patterns. The input is a union of fixed strings mapped to a set of fixed strings; an fst matcher would be ideal here and provide both memory and speed improvement I bet.

      Attachments

        1. LUCENE-3830.patch
          28 kB
          Michael McCandless
        2. LUCENE-3830.patch
          35 kB
          Michael McCandless
        3. PerfTestMappingCharFilter.java
          10 kB
          Michael McCandless
        4. LUCENE-3830.patch
          35 kB
          Michael McCandless

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              dweiss Dawid Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: