Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 72290 invoked from network); 18 Sep 2006 15:28:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 15:28:49 -0000 Received: (qmail 2843 invoked by uid 500); 18 Sep 2006 15:28:47 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 2830 invoked by uid 500); 18 Sep 2006 15:28:47 -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 2821 invoked by uid 99); 18 Sep 2006 15:28:47 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of the.mindstorm.mailinglist@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2006 08:28:43 -0700 Received: by ug-out-1314.google.com with SMTP id m3so4499186uge for ; Mon, 18 Sep 2006 08:27:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Qsi3qbJDlQkZvBxPBGiwzmxTzz+TDWSNYsAX99uA+kKuU7lr7vp9ymciLEL774OO1KDXFYAooJxvm6xytMiBtw0fPHpJDS8ESZGSNcRRsPfDUhHmNtDzJmkrmA57eIJzpYnqIBsaw4sey7mdXT8FG1jthQBWp1usAwocceG+RJs= Received: by 10.67.105.19 with SMTP id h19mr7275027ugm; Mon, 18 Sep 2006 08:27:22 -0700 (PDT) Received: by 10.66.232.15 with HTTP; Mon, 18 Sep 2006 08:27:21 -0700 (PDT) Message-ID: Date: Mon, 18 Sep 2006 18:27:21 +0300 From: "Alexandru Popescu" To: users@jackrabbit.apache.org Subject: Re: possible performance problem (need a way to test it) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/18/06, Nicolas wrote: > Hi, > > Can you please send some parts of your code? What is your code dong exactly? > > BR > Nico > > The reason I haven't provide the code in the initial email was that the code is normal query API usage: [code] QueryManager queryMgr = session.getWorkspace().getQueryManager(); Query query = queryMgr.createQuery(queryString, Query.XPATH); NodeIterator iterator = query.execute().getNodes(); if(iterator.getSize() > offset){ iterator.skip(offset); } [/code] This is the part that is showing the mentioned behavior. ./alex -- :Architect of InfoQ.com: .w( the_mindstorm )p. Co-founder of InfoQ.com