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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2016/03/31 14:54:25 UTC

[jira] [Created] (OAK-4162) Nodetype index is used even if nodetype is not indexed

Thomas Mueller created OAK-4162:
-----------------------------------

             Summary: Nodetype index is used even if nodetype is not indexed
                 Key: OAK-4162
                 URL: https://issues.apache.org/jira/browse/OAK-4162
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


If the nodetype index _did_ in the past index a certain nodetype (for example acme:Page), but that nodetype was removed from the index definition, then the nodetype index is still used for queries with that nodetype, for example:

{noformat}
/jcr:root//element(*, acme:Page)
{noformat}

It looks like the index is used because there is a node /oak:index/nodetype/:index/acme%3APage.

A workaround is to reindex (re-build) the nodetype index.



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