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

SynonymFilter behaves not as expected with "ignoreCase=true"

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.3
    • None
    • None
    • None
    • New

    Description

      SynonymFilter with "ignoreCase=true" does not work as expected:

      • Uppercase words in the SynonymMap are never matched
      • Uppercase words will be lowercase in the resulting TokenStream regardless if being matched or not

      It seems like the SynonymMap pretty much screws up if you pass it an uppercase version of a word.

      Attachments

        1. LUCENE-6832.patch
          10 kB
          Jakob Demler

        Activity

          People

            Unassigned Unassigned
            jdemler Jakob Demler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: