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

Flexible Queryparser has some Locale violation with lowercasing

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • modules/queryparser
    • None
    • New

    Description

      When reviewing the flexible queryparser with my GSoC student, I found some String.toLowerCase() calls without locale. Also some code iterates per-char and lowercases. We should fix this to behave exactly like LowerCaseFilter.

      Maybe we can make the queryparser pass all tokens to lowercase through a KeywordTokenizer->LowerCaseFilter chain, but this would create dependency to analysis module.

      Attachments

        Activity

          People

            Unassigned Unassigned
            uschindler Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: