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 036097EF3 for ; Fri, 14 Oct 2011 15:40:36 +0000 (UTC) Received: (qmail 17763 invoked by uid 500); 14 Oct 2011 15:40:35 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 17631 invoked by uid 500); 14 Oct 2011 15:40:35 -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 17512 invoked by uid 99); 14 Oct 2011 15:40:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 15:40:35 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Fri, 14 Oct 2011 15:40:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 15F6D308D59 for ; Fri, 14 Oct 2011 15:40:12 +0000 (UTC) Date: Fri, 14 Oct 2011 15:40:12 +0000 (UTC) From: "Robert Muir (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <890363097.14441.1318606812091.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <416153533.10851.1318538231847.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3517) Fix pulsingcodec to reuse its enums MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127636#comment-13127636 ] Robert Muir commented on LUCENE-3517: ------------------------------------- fyi the stupid purpose of the map is mostly theoretical, in case of Pulsing(Pulsing(Pulsing(Standard)))) or something crazy. I'm not even sure if this is possible given how pulsing works today... (its too insane to think through) > Fix pulsingcodec to reuse its enums > ----------------------------------- > > Key: LUCENE-3517 > URL: https://issues.apache.org/jira/browse/LUCENE-3517 > Project: Lucene - Java > Issue Type: Improvement > Affects Versions: 4.0 > Reporter: Robert Muir > Attachments: LUCENE-3517.patch > > > PulsingCodec currently doesnt always reuse its enums, which could lead to behavior like LUCENE-3515. > The problem is sometimes it returns the 'wrapped' enum, but other times it returns its 'pulsingenum' depending upon > whether terms are pulsed... > we can use the fact that these enums allow attributes to keep the reuse information for both so it can reuse when stepping through terms. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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