You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/03/05 10:38:12 UTC

[jira] [Created] (JCR-3529) Property2Index: node type is ignored

Thomas Mueller created JCR-3529:
-----------------------------------

             Summary: Property2Index: node type is ignored
                 Key: JCR-3529
                 URL: https://issues.apache.org/jira/browse/JCR-3529
             Project: Jackrabbit Content Repository
          Issue Type: Bug
            Reporter: Thomas Mueller


The Property2Index filters by node type, so each index only contains data for a list of node types.

But the getCost and and query methods ignore the node type.

Because of that, if there are multiple indexes for the same property, each index filtering on certain node types, then running a query might pick the wrong index.

The result is that the query doesn't return any data where it should, because the index doesn't return the right nodes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira