Marcel Reutegger wrote:

1. Wouldn't it make sense to exclude the index for the "jcr:system" tree (which is located at repository/index by default) if the query to execute doesn't include items from the "jcr:system" tree. Take for example a query like "my:app//element(*, foo:bar)". This query only searches for nodes located under "my:app" which excludes nodes from "jcr:system" and therefore doesn't need to search in the "jcr:system" index.

I think this is doable. Can you please file a jira issue about this?

I created JCR-967 and included your comments.

I'll check the code for further discussion of point 2.

Cheers,
Christoph

Reply via email to