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 4BD7EE1CF for ; Tue, 12 Feb 2013 14:51:16 +0000 (UTC) Received: (qmail 97486 invoked by uid 500); 12 Feb 2013 14:51:15 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 97399 invoked by uid 500); 12 Feb 2013 14:51:14 -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 97344 invoked by uid 99); 12 Feb 2013 14:51:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 14:51:14 +0000 Date: Tue, 12 Feb 2013 14:51:14 +0000 (UTC) From: "Shai Erera (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4764) Faster but more RAM/Disk consuming DocValuesFormat for facets 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-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576652#comment-13576652 ] Shai Erera commented on LUCENE-4764: ------------------------------------ You're right. I was just thinking ... until we need to do that, it can be final. But it can also be not final ... I'm still not sure what's the best (or common) way to work w/ Codecs. When do you create your own FilterCodec and override the relevant method, and when are you expected to extend another Codec? I guess that in this case, since getDVFForField is only on Lucene42Codec, you cannot really extend FilterCodec, so extending Lucene42 / Facet42 is the only option? In short, I don't mind if it's not final :). > Faster but more RAM/Disk consuming DocValuesFormat for facets > ------------------------------------------------------------- > > Key: LUCENE-4764 > URL: https://issues.apache.org/jira/browse/LUCENE-4764 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 4.2, 5.0 > > Attachments: LUCENE-4764.patch, LUCENE-4764.patch, LUCENE-4764.patch > > > The new default DV format for binary fields has much more > RAM-efficient encoding of the address for each document ... but it's > also a bit slower at decode time, which affects facets because we > decode for every collected docID. -- 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