apache / apache/lucene

Document QueryParser's boolean precedence ignorance [LUCENE-3675]

Open
#4,749 1 comment 0 reactions 0 assignees View on GitHub
affects-version:3.2 legacy-jira-priority:Major type:bug type:documentation
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Please add to the JavaDocs that the QueryParser does not handle boolean preference with AND/OR. This confuses developers in the way the understand boolean terms with AND. As mentioned by [Uwe Schindler](http://mail-archives.apache.org/mod_mbox/lucene-java-user/201201.mbox/%3C008c01ccca35%24190a3ac0%244b1eb040%24%40thetaphi.de%3E). This issue is connected with #4748.

---
Migrated from [LUCENE-3675](https://issues.apache.org/jira/browse/LUCENE-3675) by Michael Osipov (@michael-o)
Linked issues:
- #4748

Contributor guide

Open the contributing guide

Research direction

Locate QueryParser and read its existing JavaDocs, using linked issue #4748 for context. Update the documentation to explain that boolean precedence between AND and OR is not handled, then verify the wording and documentation build.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation, search
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.