[
https://issues.apache.org/jira/browse/LUCENE-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108738#comment-15108738
]
ASF subversion and git services commented on LUCENE-6984:
---------------------------------------------------------
Commit 1725744 from [~romseygeek] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1725744 ]
LUCENE-6984: Remove out-of-date javadoc note
> MultiTermQuery mutability can cause assertion failures in BooleanQuery
> ----------------------------------------------------------------------
>
> Key: LUCENE-6984
> URL: https://issues.apache.org/jira/browse/LUCENE-6984
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Alan Woodward
> Fix For: 5.5, Trunk
>
> Attachments: LUCENE-6984.patch
>
>
> BooleanQuery caches its hashcode on the grounds that it is immutable.
> However, this immutability doesn't hold if some of its clauses hold queries
> that are not themselves immutable - for example, a MultiTermQuery with a
> changeable rewrite method. If one of these clauses is mutated after the
> hashcode has been calculated, then the next time the parent BooleanQuery is
> used the assertion in BooleanQuery.hashCode() will fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]