Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Consider a query
/jcr:root/content//element(*, nt:unstructured)[jcr:like(@resource, '/content/foo/bar%')]
This currently gets translated into a range property restriction
property=[resource=[[/content/foo/bar.., ../content/foo/bas]]]
For such a query property index currently returns all nodes having "resource" property i.e. all index data. This can be optimized to return only those nodes where indexed value qualifies the range property restriction