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
regards
marcel