lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5502) equals method of TermsFilter might equate two different filters
Date Tue, 11 Mar 2014 08:22:43 GMT

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

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

Commit 1576227 from [~jpountz] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1576227 ]

LUCENE-5502: Fix TermsFilter.equals.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message