You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alan Woodward (Jira)" <ji...@apache.org> on 2020/05/07 15:33:00 UTC
[jira] [Resolved] (LUCENE-9362) ExpressionValueSource has buggy
rewrite method
[ https://issues.apache.org/jira/browse/LUCENE-9362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward resolved LUCENE-9362.
-----------------------------------
Fix Version/s: 8.6
Resolution: Fixed
> ExpressionValueSource has buggy rewrite method
> ----------------------------------------------
>
> Key: LUCENE-9362
> URL: https://issues.apache.org/jira/browse/LUCENE-9362
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/expressions
> Reporter: Dmitry Emets
> Priority: Minor
> Fix For: 8.6
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> ExpressionValuesSource does not actually rewrite itself due to small mistake in check of inner rewrites.
> {code:java}
> changed |= (rewritten[i] == variables[i]);
> {code}
> should be changed to
> {code:java}
> changed |= (rewritten[i] != variables[i]);
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org