Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 27703 invoked from network); 20 Apr 2007 07:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Apr 2007 07:51:40 -0000 Received: (qmail 92002 invoked by uid 500); 20 Apr 2007 07:51:44 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 91938 invoked by uid 500); 20 Apr 2007 07:51:44 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 91903 invoked by uid 99); 20 Apr 2007 07:51:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2007 00:51:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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, 20 Apr 2007 00:51:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E1FA714075 for ; Fri, 20 Apr 2007 00:51:15 -0700 (PDT) Message-ID: <28751186.1177055475362.JavaMail.jira@brutus> Date: Fri, 20 Apr 2007 00:51:15 -0700 (PDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-855) Retrieve column values for a Row from index In-Reply-To: <5001802.1177054275308.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 [ https://issues.apache.org/jira/browse/JCR-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490251 ] Marcel Reutegger commented on JCR-855: -------------------------------------- See also: http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/11552 > Retrieve column values for a Row from index > ------------------------------------------- > > Key: JCR-855 > URL: https://issues.apache.org/jira/browse/JCR-855 > Project: Jackrabbit > Issue Type: Improvement > Components: query > Reporter: Marcel Reutegger > Priority: Minor > > Each Row of a query result is based on a JCR node and therefore requires that it is read from the persistent storage. Since the index already contains the property values, even though just as an inverted index, they could be stored instead and returned as the query result. > The required changes to the jackrabbit would be: > - also store the values of all the other properties within the index. because this makes the document instances retrieved from the index much heavier we would have to move to lucene 2.1. this version supports lazy loading of document fields. > - a query result row would then use the values from the index, if available. whether property values are stored in the index, should be configurable. > - calculate the values of the jcr:path column only when requested. > with those changes at least the RowIterator result representation could work without a single access to the PM. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.