-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.17
-
Component/s: None
-
Labels:None
The following XPath query is converted to a union, however there is still an "or" in the converted query, which means the query still can't use all indexes and has to traverse the whole repository:
/jcr:root/a/b//element(*, nt:unstructured)[( (@sling:resourceType = 'x' or @sling:resourceType = 'dam/collection') or @sling:resourceSuperType = 'dam/collection')]