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

Flexible Queryparser has some Locale violation with lowercasing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/queryparser
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated: