[
https://issues.apache.org/jira/browse/LUCENE-9362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Emets updated LUCENE-9362:
---------------------------------
Description:
ExpressionValuesSource does not actually rewrite himself 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}
was:
ExpressionValuesSource does not actually rewrites himself 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}
> 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
>
> ExpressionValuesSource does not actually rewrite himself 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: [email protected]
For additional commands, e-mail: [email protected]