Add autoGeneratePhraseQueries into StandardQueryParser [LUCENE-5366]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
classic.QueryParser has an autoGeneratePhraseQueries but flexible.standard.StandardQueryParser does not have it. autoGeneratePhraseQueries feature is useful when using CJKAnalyzer. I wrote a patch that adds this feature into StandardQueryParser.
Please apply this patch if you'd like.
---
Migrated from [LUCENE-5366](https://issues.apache.org/jira/browse/LUCENE-5366) by Taiki Sugawara (@buzztaiki)
Attachments: [LUCEN-5366_4x.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5366/LUCEN-5366_4x.patch), [LUCEN-5366.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5366/LUCEN-5366.patch)
Contributor guide
Research direction
Start by comparing classic.QueryParser with flexible.standard.StandardQueryParser, focusing on the existing autoGeneratePhraseQueries behavior and the attached LUCENE-5366 patches. Confirm the intended StandardQueryParser API and verify that equivalent behavior works with CJKAnalyzer before considering the issue complete.
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
- 35/100