Mark Harwood created LUCENE-9386:
------------------------------------

             Summary: RegExpQuery - add case insensitive matching option
                 Key: LUCENE-9386
                 URL: https://issues.apache.org/jira/browse/LUCENE-9386
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
            Reporter: Mark Harwood


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to