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 CC8B643B0 for ; Wed, 29 Jun 2011 22:51:51 +0000 (UTC) Received: (qmail 14049 invoked by uid 500); 29 Jun 2011 22:51:50 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 13819 invoked by uid 500); 29 Jun 2011 22:51:49 -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 13811 invoked by uid 99); 29 Jun 2011 22:51:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 22:51:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2011 22:51:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7CF9643AC2D for ; Wed, 29 Jun 2011 22:51:28 +0000 (UTC) Date: Wed, 29 Jun 2011 22:51:28 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <181963897.4035.1309387888508.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <786887654.3852.1309383988426.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3260) need a test that uses termsenum.seekExact() (which returns true), then calls next() 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-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-3260: --------------------------------------- Attachment: LUCENE-3260.patch Patch, w/ new test showing the issue in MTE when you next() after seekExact(), and w/ the fix for MTE. I also removed unnecessary seek calls from LuceneTaxonomyWriter. > need a test that uses termsenum.seekExact() (which returns true), then calls next() > ----------------------------------------------------------------------------------- > > Key: LUCENE-3260 > URL: https://issues.apache.org/jira/browse/LUCENE-3260 > Project: Lucene - Java > Issue Type: Bug > Reporter: Robert Muir > Assignee: Michael McCandless > Attachments: LUCENE-3260.patch > > > i tried to do some seekExact (where the result must exist) then next()ing in the faceting module, > and it seems like there could be a bug here. > I think we should add a test that mixes seekExact/seekCeil/next like this, to ensure that > if seekExact returns true, that the enum is properly positioned. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org