Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 98032 invoked from network); 11 Aug 2006 10:40:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2006 10:40:39 -0000 Received: (qmail 92287 invoked by uid 500); 11 Aug 2006 10:40:36 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 92240 invoked by uid 500); 11 Aug 2006 10:40:35 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 92229 invoked by uid 99); 11 Aug 2006 10:40:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [66.111.4.28] (HELO out4.smtp.messagingengine.com) (66.111.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 03:40:35 -0700 Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id DADB4D953A3 for ; Fri, 11 Aug 2006 06:39:50 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by frontend3.internal (MEProxy); Fri, 11 Aug 2006 06:39:51 -0400 X-Sasl-enc: G6uncY+3xUeGO8O23MBSHvSDNzoE7aeP1bnvn6/GwX7I 1155292790 Received: from [10.17.4.3] (pool-72-70-33-153.bstnma.fios.verizon.net [72.70.33.153]) by mail.messagingengine.com (Postfix) with ESMTP id A65BF429 for ; Fri, 11 Aug 2006 06:39:49 -0400 (EDT) Message-ID: <44DC5E71.1070904@mikemccandless.com> Date: Fri, 11 Aug 2006 06:39:45 -0400 From: Michael McCandless User-Agent: Thunderbird 2.0a1 (X11/20060724) MIME-Version: 1.0 To: java-dev@lucene.apache.org Subject: Re: [jira] Commented: (LUCENE-648) Allow changing of ZIP compression level for compressed fields References: <14516344.1155273495044.JavaMail.jira@brutus> <0E01A93E-85F8-40BC-A76F-8B92B4221258@ix.netcom.com> In-Reply-To: <0E01A93E-85F8-40BC-A76F-8B92B4221258@ix.netcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > I don't understand why the compressed fields are not just handled > externally in the Document class - just add uncompress/compress methods. > This way all Lucene needs to understand is binary fields, and you don't > have any of these problems during merging or initial indexing. This is an excellent point. Since these are just stored fields, why not have Lucene treat them as [opaque] binary fields so they are not touched during normal index operations. And then only when a Document really needs to provide this value, it would decompress then? Was there a counterbalance that justified having the compress logic inside the indexing code? Mike --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org