jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu" <the.mindstorm.mailingl...@gmail.com>
Subject Re: possible performance problem (need a way to test it)
Date Mon, 18 Sep 2006 15:27:21 GMT
On 9/18/06, Nicolas <ntoper@gmail.com> 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

Mime
View raw message