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

MappingCharFilter could be improved by switching to an FST.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Lucene Fields:
      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
          35 kB
          Michael McCandless
        2. PerfTestMappingCharFilter.java
          10 kB
          Michael McCandless
        3. LUCENE-3830.patch
          35 kB
          Michael McCandless
        4. LUCENE-3830.patch
          28 kB
          Michael McCandless

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: