[ 
https://issues.apache.org/jira/browse/LUCENE-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shai Erera closed LUCENE-218.
-----------------------------

    Resolution: Not A Problem
      Assignee:     (was: Lucene Developers)

Note that the query has "OR FIVE AND SIX" and hence FIVE and SIX are required. 
Same for the last "OR FOUR AND FIVE". If you want to get exact boolean 
ordering, you should use clauses.

> Query Parser flags clauses with explicit OR as required when followed by 
> explicit AND.
> --------------------------------------------------------------------------------------
>
>                 Key: LUCENE-218
>                 URL: https://issues.apache.org/jira/browse/LUCENE-218
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: QueryParser
>    Affects Versions: 1.0.2
>         Environment: Operating System: other
> Platform: PC
>            Reporter: David Mabe
>            Priority: Minor
>
> When the following string is parsed:
> ONE NOT TWO OR THREE NOT FOUR OR FIVE AND SIX SEVEN OR THRE OR FIVEE OR FOUR 
> AND FIVE SIXX
> The following query is returned:
> +ONE -TWO THREE -FOUR +FIVE +SIX SEVEN THRE FIVEE +FOUR +FIVE +SIXX
> Note that the first FIVE is required when it should not be.
> Also note that the first THREE is calculated correctly with the explicit OR.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to