jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Q. Xpath performance again
Date Fri, 08 Feb 2008 13:09:11 GMT
Alex Lukin wrote:
> Query is quite simple: "//uk/news//*/pib:pibdocument"

I suspect it's the news//* part. do you really have varying levels of 
categories? otherwise you should rather write news/*.

specifying the node type of the category nodes will also help. e.g. if you could 
write something like:

uk/news//element(*, pib:category)/pib:pibdocument

I've filed a jira issue to improve the performance for path constraints like 
foo//*/bar. see https://issues.apache.org/jira/browse/JCR-1365


View raw message