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

PatternReplaceCharFilterFactory should implement MultiTermAware

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The multi-term aware marker API is useful to know which analysis components to apply when analyzing prefix or wildcard queries. I think PatternReplaceCharFilterFactory qualifies?

      For the record, we have MappingCharFilterFactory that does a similar job (except that it takes an explicit map of replacements rather than regular expressions) and implements MultiTermAware.

        Attachments

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: