Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
For queries of type, the property index on jcr:primaryType is used, even if only a subset of all node types are indexed:
/jcr:root//element(*,rep:User)[xyz/@jcr:primaryType]
The problem is that this index returns the wrong cost. It should return "infinity", because the index doesn't have enough data if not all node types and mixins are indexed.