jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronaldo Florence" <rflore...@nexen.com.br>
Subject Paging results
Date Thu, 31 May 2007 14:42:53 GMT
Hi,
 
I'm trying to page the results of a Xpath query, but I'm not sure how to do
this. I used the skip method on the NodeIterator class, but I can't bring
every node to memory, I need to page the results on the query, I have a
large amount of data so it's imperative to do so.
 
I tried the following query:
 
//site/Dados/element(*, mtx:content)[position()=1 or position()=2 or
position()=3]
 
but no results came up... any ideas? I would really apreciate some help...

Thanks,

Ronaldo Florence


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