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

Chetan Mehrotra resolved OAK-2335.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.2)
                   1.1.4
                   1.0.9

Fixed 
* trunk - http://svn.apache.org/r1644383
* 1.0 - http://svn.apache.org/r1644558

> 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)

Reply via email to