jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OAK-1501) Property index on "jcr:primaryType" returns the wrong cost
Date Tue, 01 Jul 2014 13:50:24 GMT

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

Alex Parvulescu reassigned OAK-1501:

    Assignee: Thomas Mueller  (was: Alex Parvulescu)

Thomas, I'm not sure if this is an issue anymore or has been fixed as a part of a different
issue. feel free to close it if you want.

> Property index on "jcr:primaryType" returns the wrong cost
> ----------------------------------------------------------
>                 Key: OAK-1501
>                 URL: https://issues.apache.org/jira/browse/OAK-1501
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.1
> For queries of type, the property index on jcr:primaryType is used, even if only a subset
of all node types are indexed:
> {noformat}
> /jcr:root//element(*,rep:User)[xyz/@jcr:primaryType]
> {noformat}
> The problem is that this index returns the wrong cost. It should return "infinity", because
the index doesn't have enough data if not all node types and mixins are indexed.

This message was sent by Atlassian JIRA

View raw message