apache / apache/lucene

Provide a way to disable the regular expressions in QueryParser/MultiFieldQueryParser [LUCENE-5866]

Open
#6,928 0 comments 0 reactions 0 assignees View on GitHub
affects-version:4.5.1 legacy-jira-priority:Major module:core/queryparser type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

we would like to use the default parser, but disable the regular expressions

---
Migrated from [LUCENE-5866](https://issues.apache.org/jira/browse/LUCENE-5866) by Tim Lebedkov

Contributor guide

Open the contributing guide

Research direction

Start by locating the QueryParser and MultiFieldQueryParser entry points and reading how regular expressions are currently handled. Determine the intended behavior for disabling them while retaining the default parser, then identify relevant parser tests; done means both parsers support the requested opt-out behavior without changing their default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.