[ 
https://issues.apache.org/jira/browse/LUCENE-9362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101782#comment-17101782
 ] 

ASF subversion and git services commented on LUCENE-9362:
---------------------------------------------------------

Commit 98660c8e41013deed8ce90650675abcf6a5792be in lucene-solr's branch 
refs/heads/branch_8x from Dmitry Emets
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=98660c8 ]

LUCENE-9362: Fix rewriting check in ExpressionValueSource (#1485)



> 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
>          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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to