You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2014/12/22 05:10:15 UTC

[jira] [Closed] (OAK-2335) IndexPlanner does not return plan for mixin based queries

     [ https://issues.apache.org/jira/browse/OAK-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Jain closed OAK-2335.
--------------------------

Bulk close for 1.0.9

> IndexPlanner does not return plan for mixin based queries
> ---------------------------------------------------------
>
>                 Key: OAK-2335
>                 URL: https://issues.apache.org/jira/browse/OAK-2335
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: oak-lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.0.9, 1.1.4
>
>
> Following testcase fails because filter.getSuperTypes returns only 'mix:mimetype' while planner checks if nt:base is part of supertypes.
> {noformat}
> 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
> {noformat}
> As a fix if indexRule is set for nt:base then it should be used for mixin based queries also



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)