lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Júlio César e Melo (JIRA) <>
Subject [jira] [Commented] (LUCENE-7483) QueryParser changes OR clausule to AND
Date Fri, 07 Oct 2016 21:13:20 GMT


Júlio César e Melo commented on LUCENE-7483:

Oops. If this is an expected behaviour, I'm sorry for raising this issue. Anyway, I find this

> QueryParser changes OR clausule to AND
> --------------------------------------
>                 Key: LUCENE-7483
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/queryparser
>    Affects Versions: 6.2.1
>            Reporter: Júlio César e Melo
>            Priority: Minor
> QueryParser incorrectly parses the expression {color:blue}{{t1 AND t2 *OR* t3 AND t4}}{color}
> {color:red}{{(+t1 +t2 +t3 +t4)}}{color} while {color:green}{{t1 AND t2 AND t3 AND t4}}{color}
produces the same result.
> The expected result for expression {color:blue}{{t1 AND t2 OR t3 AND t4}}{color} is {color:purple}{{(+t1
+t2) (+t3 +t4)}}{color}.
> This occurs using StandardQueryParser or classic.QueryParser.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message