jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3529) Property2Index: node type is ignored
Date Tue, 05 Mar 2013 09:38:12 GMT
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

Mime
View raw message