Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 86988 invoked from network); 12 Nov 2007 14:12:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2007 14:12:57 -0000 Received: (qmail 6897 invoked by uid 500); 12 Nov 2007 14:12:44 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 6882 invoked by uid 500); 12 Nov 2007 14:12:44 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 6873 invoked by uid 99); 12 Nov 2007 14:12:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 06:12:44 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 14:12:46 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ira1a-0002nu-J8 for users@jackrabbit.apache.org; Mon, 12 Nov 2007 06:12:26 -0800 Message-ID: <13706149.post@talk.nabble.com> Date: Mon, 12 Nov 2007 06:12:26 -0800 (PST) From: Kisu San To: users@jackrabbit.apache.org Subject: Problem with NodeIterator MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Kishore.san@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi Arn, Thanks for your reply. All these nodes are attached to one Parent Node. Even nodeIterator.hasNext() also taking lot of time. There is definitely something wrong, while accessing large node sets. I think, 10K nodes under one parent node is quite common thing I guess. I am doing this whole exercise to see if jackrabbit is best bet for CMS implementation for a major European automotive company. It will be a very big implementation and 10K nodes would be quite common. Ps. now i created this thread in users. >>> original query Dear All, I have a problem with NodeIterator, which is taking lot of time. I am using Jackrabbit 1.3.3 and jcr 1.0 jars. Below is my code, my query is been executed in a reasonable time, but when I try to loop through the result set using NodeIterator it is taking time. I have 10,000 nodes out of which 100 are matching nodes (satisfying where clause of query) And each of these 1000 nodes associate with a binary file. QueryResult results = getQueryResults(query); ==> is executing in reasonable time (XPath query) NodeIterator it = results.getNodes(); ==> is executing in reasonable time for (int i= 0; i < it.getSize(); i++){ Node n = it.nextNode(); ==> is taking lot of time. I have tried with rowIterator and it is the same case. Some one from this forum told me that this problem was fixed in one of the earlier releases. Can anyone give me any in sites of how this can be fixed. Or What is the other alternative to use NodeIterator. -- View this message in context: http://www.nabble.com/Problem-with-NodeIterator-tf4791277.html#a13706149 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.