Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 66329 invoked from network); 29 Dec 2006 14:53:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Dec 2006 14:53:51 -0000 Received: (qmail 72405 invoked by uid 500); 29 Dec 2006 14:53:55 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 72196 invoked by uid 500); 29 Dec 2006 14:53:54 -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 72179 invoked by uid 99); 29 Dec 2006 14:53:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 06:53:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 06:53:45 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B206C7142BB for ; Fri, 29 Dec 2006 06:53:25 -0800 (PST) Message-ID: <8113006.1167404005726.JavaMail.jira@brutus> Date: Fri, 29 Dec 2006 06:53:25 -0800 (PST) From: "Grant Ingersoll (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Assigned: (LUCENE-762) [PATCH] Efficiently retrieve sizes of field values In-Reply-To: <28043400.1167303141080.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/LUCENE-762?page=all ] Grant Ingersoll reassigned LUCENE-762: -------------------------------------- Assignee: Grant Ingersoll > [PATCH] Efficiently retrieve sizes of field values > -------------------------------------------------- > > Key: LUCENE-762 > URL: http://issues.apache.org/jira/browse/LUCENE-762 > Project: Lucene - Java > Issue Type: New Feature > Components: Store > Affects Versions: 2.1 > Reporter: Chuck Williams > Assigned To: Grant Ingersoll > Attachments: SizeFieldSelector.patch > > > Sometimes an application would like to know how large a document is before retrieving it. This can be important for memory management or choosing between algorithms, especially in cases where documents might be very large. > This patch extends the existing FieldSelector mechanism with two new FieldSelectorResults: SIZE and SIZE_AND_BREAK. SIZE creates fields on the retrieved document that store field sizes instead of actual values. SIZE_AND_BREAK is especially efficient if one field comprises the bulk of the document size (e.g., the body field) and can thus be used as a reasonable size approximation. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org