Hi, On Sat, Apr 19, 2008 at 1:46 PM, Colin Anderson <[EMAIL PROTECTED]> wrote: > Is there a way to check that it is using the indexes when it does a > search through the repository?
A search in Jackrabbit is always performed using the index, but some types of queries are more complex to execute than others. Does the following more generic query perform noticeably better: //element(*,atom:Collection) Also, it seems like you're using the query to select among the children of a specific node instead of looking through an entire subtree. In such cases it is almost always more efficient to use getNodes() and filter the results programmatically. BR, Jukka Zitting
