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 C98BC10613 for ; Thu, 20 Jun 2013 19:40:21 +0000 (UTC) Received: (qmail 16057 invoked by uid 500); 20 Jun 2013 19:40:20 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 15996 invoked by uid 500); 20 Jun 2013 19:40:20 -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 15988 invoked by uid 99); 20 Jun 2013 19:40:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 19:40:20 +0000 Date: Thu, 20 Jun 2013 19:40:20 +0000 (UTC) From: "Commit Tag Bot (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-5063) Allow GrowableWriter to store negative values 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-5063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689556#comment-13689556 ] Commit Tag Bot commented on LUCENE-5063: ---------------------------------------- [branch_4x commit] jpountz http://svn.apache.org/viewvc?view=revision&revision=1495146 LUCENE-5063: ...continuation. > Allow GrowableWriter to store negative values > --------------------------------------------- > > Key: LUCENE-5063 > URL: https://issues.apache.org/jira/browse/LUCENE-5063 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Adrien Grand > Assignee: Adrien Grand > Priority: Trivial > Fix For: 4.4 > > Attachments: LUCENE-5063.patch, LUCENE-5063.patch > > > For some use-cases, it would be convenient to be able to store negative values in a GrowableWriter, for example to use it in FieldCache: The first term is the minimum value and one could use a GrowableWriter to store deltas between this minimum value and the current value. (The need for negative values comes from the fact that maxValue - minValue might be larger than Long.MAX_VALUE.) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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