You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mark Harwood (Jira)" <ji...@apache.org> on 2020/05/28 14:14:00 UTC

[jira] [Commented] (LUCENE-9386) RegExpQuery - add case insensitive matching option

    [ https://issues.apache.org/jira/browse/LUCENE-9386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118717#comment-17118717 ] 

Mark Harwood commented on LUCENE-9386:
--------------------------------------

I opened [https://github.com/apache/lucene-solr/pull/1541]

> 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
>            Priority: Minor
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org