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 47E71EBFF for ; Sat, 16 Feb 2013 00:17:14 +0000 (UTC) Received: (qmail 17535 invoked by uid 500); 16 Feb 2013 00:17:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 17459 invoked by uid 500); 16 Feb 2013 00:17:12 -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 17450 invoked by uid 99); 16 Feb 2013 00:17:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Feb 2013 00:17:12 +0000 Date: Sat, 16 Feb 2013 00:17:12 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4780) MonotonicAppendingLongBuffer 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-4780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13579620#comment-13579620 ] Robert Muir commented on LUCENE-4780: ------------------------------------- So this works even if its "mostly monotonic" but not always? In LUCENE-4765, i refactored SortedBytes merging to use OrdinalMap, so if this works we can also reduce RAM used during merging, which would be awesome. But using it in merge means that when there are "deleted terms" its ordinal mappings are not always strictly monotonic, but probably mostly so. In this case we would just get some negative deviations right? > MonotonicAppendingLongBuffer > ---------------------------- > > Key: LUCENE-4780 > URL: https://issues.apache.org/jira/browse/LUCENE-4780 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Adrien Grand > Assignee: Adrien Grand > Priority: Minor > Fix For: 4.2 > > Attachments: LUCENE-4780.patch > > > IndexWriter uses AppendingLongBuffer in several places, and in a few of them the mapping is monotonically increasing so we could save additional space by only encoding the delta from a linear projection. -- 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