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

Jeff Young edited comment on OAK-1215 at 11/26/13 6:11 PM:
-----------------------------------------------------------

Well, all the queries are shortened in an attempt to raise the signal-to-noise 
ratio.  The "real" query will also likely have a tags predicate and/or fulltext 
predicate, and might have additional property predicates.

An index on cq:commerceType doesn't help.  One customer, for instance, has on 
the order of 10 million products.  I assume tags are indexed, though?  So 
perhaps we can tell them property searches will be slow unless they also 
include tags in the search?  (TVs, for instance, won't have clothing sizes so 
it's pointless to search them for size = 'M' anyway.)

Does the Jackrabbit 2 implementation index on the properties?  (If it does, 
they might already be used to indexed performance.)


was (Author: jeyjey):
Well, all the queries are shortened in an attempt to raise the signal-to-noise 
ratio.  The "real" query will also likely have a tags predicate and/or fulltext 
predicate, and might have additional property predicates.

An index on cq:commerceType doesn't help.  Conrad, for instance, has on the 
order of 10 million products.  I assume tags are indexed, though?  So perhaps 
we can tell them property searches will be slow unless they also include tags 
in the search?  (TVs, for instance, won't have clothing sizes so it's pointless 
to search them for size = 'M' anyway.)

Does the Jackrabbit 2 implementation index on the properties?  (If it does, 
they might already be used to indexed performance.)

> 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