Description
Following testcase fails because filter.getSuperTypes returns only 'mix:mimetype' while planner checks if nt:base is part of supertypes.
testBuiltInMixin(org.apache.jackrabbit.core.query.MixinTest): No plan found for filter [Filter(query=select [jcr:path], [jcr:score], * from [mix:mimeType] as a where isdescendantnode(a, '/testroot') /* xpath: testroot//element(*, mix:mimeType) */, path=/testroot//*)] while using definition [IndexDefinition : /oak:index/luceneGlobal] and testMode is found to be enabled
As a fix if indexRule is set for nt:base then it should be used for mixin based queries also
Attachments
Issue Links
- is related to
-
OAK-2282 Make current testcases pass with new index implementation
- Closed