Hello, I am also interested in this topic. The only way that I found, was, to set the Limit in the Query Object with qu.setLimit(100) e.g.
Is there a way to define the limit within the xpath-query? Greetings, Michael Coldewey On Tue, 19 Jan 2010 17:41:33 -0500, "Joshi, Suhas D" <[email protected]> wrote: > Hello: > > I am implementing an interactive and user interface driven "list" > function with Apache Jackrabbit. The repository has thousands of nodes > but I want to retrieve only the first 100 nodes. When the user presses > the "Next" button then I will retrieve the next 100 nodes, and so on. > > Is it possible to do that through the Query language? How? > > Thanks in advance. > > Suhas Joshi > MRL Information Technology > Merck & Co., Inc. > 126 E. Lincoln Ave > Rahway, NJ 07065 > +1 732.594.1558 w > [email protected] > > > > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New > Jersey, USA 08889), and/or its affiliates Direct contact information for > affiliates is available at http://www.merck.com/contact/contacts.html) that > may be confidential, proprietary copyrighted and/or legally privileged. It > is intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and then > delete it from your system.
