Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 54448 invoked from network); 18 Dec 2006 09:44:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2006 09:44:46 -0000 Received: (qmail 26681 invoked by uid 500); 18 Dec 2006 09:44:53 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 26516 invoked by uid 500); 18 Dec 2006 09:44:52 -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 26507 invoked by uid 99); 18 Dec 2006 09:44:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Dec 2006 01:44:52 -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; Mon, 18 Dec 2006 01:44:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 902A77141BE for ; Mon, 18 Dec 2006 01:44:24 -0800 (PST) Message-ID: <12639200.1166435064587.JavaMail.jira@brutus> Date: Mon, 18 Dec 2006 01:44:24 -0800 (PST) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-651) Improve performance for queries with large result sets In-Reply-To: <26146679.1164735320973.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/JCR-651?page=all ] Marcel Reutegger resolved JCR-651. ---------------------------------- Resolution: Fixed Changed the default value of the 'resultFetchSize' to Integer.MAX_VALUE. With this value getSize() will always return the correct value according to the users access rights. Fixed in trunk and 1.2 branch: 488181 > Improve performance for queries with large result sets > ------------------------------------------------------ > > Key: JCR-651 > URL: http://issues.apache.org/jira/browse/JCR-651 > Project: Jackrabbit > Issue Type: Improvement > Components: query > Reporter: Marcel Reutegger > Assigned To: Marcel Reutegger > Priority: Minor > Fix For: 1.2 > > > The current implementation of QueryResult requires that access rights are checked on all NodeIds before they are passed ot the QueryResult. This handling should be improved to a more lazy approach where result nodes are checked in configurable batches. Usually a client is only interested in the top scoring results. -- 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