jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Neale" <michael.ne...@gmail.com>
Subject Re: NodeIterator very slow
Date Wed, 21 Feb 2007 05:21:28 GMT
Alex - if you upgrade you can try the option that Marcel is suggesting
(which is a jackrabbit specific thing, presuambly set in the repository.xml?
Marcel ?).

>From the looks of it its 1.1 only and up.

Michael.

On 2/5/07, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
>
> Sridhar Raman wrote:
> > When does the query actually get executed? This is my code:
> >      try
> >      {
> >         qr = query.execute();
> >         entiter = qr.getNodes();
> >      }
> >      catch (Exception e)
> >      {
> >         logger.error("Executing entity query", e);
> >      }
> >
> > These two statements are done quite quickly. And when I inspect the
> entiter
> > variable, it shows 2000 nodes.
> >
> > It's when I do either an entiter.hasNext() or an entiter.nextNode() that
> > the
> > problem occurs. Will your suggestions of config tweaks help here?
>
> Then it's probably the document order which is calculated when you access
> the
> first node of the query result:
>
> >> - disable document order on the query result
> >>    See: http://issues.apache.org/jira/browse/JCR-145
>
> regards
>   marcel
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message