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 477B5F5EF for ; Thu, 9 May 2013 23:09:18 +0000 (UTC) Received: (qmail 82162 invoked by uid 500); 9 May 2013 23:06:10 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 82085 invoked by uid 500); 9 May 2013 23:06:10 -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 82045 invoked by uid 99); 9 May 2013 23:06:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 23:06:10 +0000 Date: Thu, 9 May 2013 23:06:10 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LUCENE-2340) FixedIntBlockIndexOutput encodes unnecessary integers at the end of a list 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-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2340: ---------------------------------- Fix Version/s: (was: 4.3) 4.4 > FixedIntBlockIndexOutput encodes unnecessary integers at the end of a list > -------------------------------------------------------------------------- > > Key: LUCENE-2340 > URL: https://issues.apache.org/jira/browse/LUCENE-2340 > Project: Lucene - Core > Issue Type: Bug > Components: core/index > Affects Versions: 4.0-ALPHA > Reporter: Renaud Delbru > Priority: Minor > Fix For: 4.4 > > Attachments: LUCENE-1458-FixedIntBlockIndexOutput.patch, LUCENE-1458-FixedIntBlockIndexOutput.patch > > > At closing time, the current FixedIntBlockIndexOutput flushes blocks of blockSize even if there is only a few integers in the block. > This can be problematic and causes a big overhead when using large blockSize (e.g., 1024), on small segments or on rare term posting list. > One solution will be to have a secondary flushBlock method with an additional paramter: the valid length of a buffer. This method will be only called in the FixedIntBlockIndexOutput#close() method. > The way this particular block of integers are encoded are left to subclasses. -- 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