You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/08 15:09: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=17153677#comment-17153677 ] 

ASF subversion and git services commented on LUCENE-9386:
---------------------------------------------------------

Commit 887fe4c83d4114c6238265ca7f05aa491525af9d in lucene-solr's branch refs/heads/master from markharwood
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=887fe4c ]

LUCENE-9386 add case insensitive RegExp matching option (#1541)

Added case insensitive search option (currently only works with ASCII characters)

> 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