apache / apache/lucene

Expose new case insensitive RegExpQuery support in QueryParser [LUCENE-9445]

Open
#10,485 5 comments 0 reactions 1 assignee Claimed by @markharwood View on GitHub
legacy-jira-priority:Minor module:core/queryparser type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

#10426 added a case insensitive matching option to RegExpQuery.

This proposal is to extend the QueryParser syntax to allow for an optional `i` (case Insensitive) flag to appear on the end of regular expressions e.g. /Foo/i

 

This is regex syntax supported by a number of programming languages.

---
Migrated from [LUCENE-9445](https://issues.apache.org/jira/browse/LUCENE-9445) by Mark Harwood (@markharwood), updated Sep 17 2020
Linked issues:
- #10568
- #10566

Pull requests: https://github.com/apache/lucene-solr/pull/1708

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.