Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41E6C106C5 for ; Fri, 7 Mar 2014 19:43:50 +0000 (UTC) Received: (qmail 86935 invoked by uid 500); 7 Mar 2014 19:43:45 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 86849 invoked by uid 500); 7 Mar 2014 19:43:43 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 86831 invoked by uid 99); 7 Mar 2014 19:43:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 19:43:43 +0000 Date: Fri, 7 Mar 2014 19:43:43 +0000 (UTC) From: "Igor Motov (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LUCENE-5502) equals method of TermsFilter might equate two different filters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Motov updated LUCENE-5502: ------------------------------- Attachment: LUCENE-5502.patch Test and patch for the issue. > 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 > > > 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