[ 
https://issues.apache.org/jira/browse/OAK-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831692#comment-13831692
 ] 

Jeff Young commented on OAK-1215:
---------------------------------

I've timed traversals, and they're about 6X slower (even on the 
geometrixx-outdoors dataset, which is quite small).  Given that this query is 
used for product search, performance is going to be very important, and over 
much larger datasets in the real world, so I don't think traversals are an 
option.

> 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#6144)

Reply via email to