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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/04/07 22:22:13 UTC

[jira] [Updated] (OAK-2368) Property index: setting declaringNodeTypes to an empty array can break queries

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

Marcel Reutegger updated OAK-2368:
----------------------------------
    Fix Version/s:     (was: 1.2)

> Property index: setting declaringNodeTypes to an empty array can break queries
> ------------------------------------------------------------------------------
>
>                 Key: OAK-2368
>                 URL: https://issues.apache.org/jira/browse/OAK-2368
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.1.4
>
>
> For property indexes, setting the config option "declaringNodeTypes" to an empty array will cause the index not to index any data, but will still allow the index to be used for all node type. That means, the index can be used, and would return no results. Queries would therefore return an empty result, when this index is used (even if there are nodes that match).
> The problem is that the interpretation of an existing, but empty declaringNodeTypes property is different in the index editor and in the index cost / lookup operation.



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