You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/10/07 14:07:20 UTC
[jira] [Commented] (LUCENE-7483) QueryParser changes OR clausule to
AND
[ https://issues.apache.org/jira/browse/LUCENE-7483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15555167#comment-15555167 ]
Michael McCandless commented on LUCENE-7483:
--------------------------------------------
Hmm, no good. Can you make a test case showing the bug?
> QueryParser changes OR clausule to AND
> --------------------------------------
>
> Key: LUCENE-7483
> URL: https://issues.apache.org/jira/browse/LUCENE-7483
> 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} as
> {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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org