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

RegExpQuery - add case insensitive matching option

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      In searches sometimes case sensitivity is important and sometimes not. 

      However, users don't want to have to index two versions of their data (lowercased and original) in order to service both case sensitive and case insensitive queries. To get around this users have been commonly seen to take a user query e.g. `powershell.exe` and search for it with the regex `[Pp][Oo][Ww][Ee][Rr][Ss][Hh][Ee][Ll][Ll]\.[Ee][Xx][Ee]`.

      The proposal is that we add an extra "case insensitive" option to the RegExp query flags to automatically do this sort of expansion when we create Automatons.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mharwood Mark Harwood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h