Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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:primaryType = 'nt:unstructured') and (@resources = '/data' or @resolved = '/data')) or (@content = '/data' and (@jcr:primaryType = 'nt:folder'))) ]
Attachments
Issue Links
- relates to
-
OAK-904 Query: support "union" and "union all"
- Closed