[
https://issues.apache.org/jira/browse/LUCENE-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925918#comment-13925918
]
Adrien Grand commented on LUCENE-5502:
--------------------------------------
Thank you Igor, the patch looks good to me! [~simonw], I think you worked on
this filter in the past, so you might want to give a look at this patch?
> equals method of TermsFilter might equate two different filters
> ---------------------------------------------------------------
>
> Key: LUCENE-5502
> URL: https://issues.apache.org/jira/browse/LUCENE-5502
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/query/scoring
> Affects Versions: 4.7
> Reporter: Igor Motov
> Attachments: LUCENE-5502.patch, LUCENE-5502.patch, LUCENE-5502.patch
>
>
> If two terms filters have 1) the same number of terms, 2) use the same field
> in all these terms and 3) term values happened to have the same hash codes,
> these two filter are considered to be equal as long as the first term is the
> same in both filters.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]