[
https://issues.apache.org/jira/browse/OAK-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13842983#comment-13842983
]
Marcel Reutegger commented on OAK-1215:
---------------------------------------
bq. Does the Jackrabbit 2 implementation index on the properties?
Per default Jackrabbit 2 indexes all properties and a condition like {{x=c or
\*/x=c or \*/\*/x=c}} is evaluated by enumerating all (pseudo code):
{noformat}
nodes-with(x=c) union parentOf(nodes-with(x=c)) union
parentOf(parentOf(nodes-with(x=c)))
{noformat}
> Relative property paths don't work in XPath search expressions
> --------------------------------------------------------------
>
> Key: OAK-1215
> URL: https://issues.apache.org/jira/browse/OAK-1215
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Jeff Young
> Priority: Critical
> Attachments: relative-predicate-paths.tiff
>
>
> A search XPath of the form:
> {code}
> /jcr:root/etc/commerce/products//*[@size='M' or */@size='M']
> {code}
> returns:
> {code}
> Invalid path: *
> {code}
> (This works fine in Jackrabbit.)
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)