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 2012/10/25 11:30:14 UTC

[jira] [Created] (OAK-396) Limit property index to nodes of given type

Marcel Reutegger created OAK-396:
------------------------------------

             Summary: Limit property index to nodes of given type
                 Key: OAK-396
                 URL: https://issues.apache.org/jira/browse/OAK-396
             Project: Jackrabbit Oak
          Issue Type: Improvement
    Affects Versions: 0.5
            Reporter: Marcel Reutegger


As discussed on the mailing list [0] the property index must be enhanced to take the node type into account.

[0] http://jackrabbit.markmail.org/thread/loudobqviwvhsli5

--
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

[jira] [Assigned] (OAK-396) Limit property index to nodes of given type

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu reassigned OAK-396:
-----------------------------------

    Assignee: Alex Parvulescu
    
> Limit property index to nodes of given type
> -------------------------------------------
>
>                 Key: OAK-396
>                 URL: https://issues.apache.org/jira/browse/OAK-396
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.5
>            Reporter: Marcel Reutegger
>            Assignee: Alex Parvulescu
>
> As discussed on the mailing list [0] the property index must be enhanced to take the node type into account.
> [0] http://jackrabbit.markmail.org/thread/loudobqviwvhsli5

--
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

[jira] [Updated] (OAK-396) Limit property index to nodes of given type

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated OAK-396:
--------------------------------

    Attachment: OAK-396-v2.patch

following OAK-470, I've updated the patch.

feedback welcome
                
> Limit property index to nodes of given type
> -------------------------------------------
>
>                 Key: OAK-396
>                 URL: https://issues.apache.org/jira/browse/OAK-396
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.5
>            Reporter: Marcel Reutegger
>            Assignee: Alex Parvulescu
>         Attachments: OAK-396.patch, OAK-396-v2.patch
>
>
> As discussed on the mailing list [0] the property index must be enhanced to take the node type into account.
> [0] http://jackrabbit.markmail.org/thread/loudobqviwvhsli5

--
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

[jira] [Updated] (OAK-396) Limit property index to nodes of given type

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela updated OAK-396:
-----------------------

    Issue Type: Bug  (was: Improvement)
    
> Limit property index to nodes of given type
> -------------------------------------------
>
>                 Key: OAK-396
>                 URL: https://issues.apache.org/jira/browse/OAK-396
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.5
>            Reporter: Marcel Reutegger
>
> As discussed on the mailing list [0] the property index must be enhanced to take the node type into account.
> [0] http://jackrabbit.markmail.org/thread/loudobqviwvhsli5

--
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

[jira] [Updated] (OAK-396) Limit property index to nodes of given type

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated OAK-396:
---------------------------------

    Component/s: core
    
> Limit property index to nodes of given type
> -------------------------------------------
>
>                 Key: OAK-396
>                 URL: https://issues.apache.org/jira/browse/OAK-396
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.5
>            Reporter: Marcel Reutegger
>
> As discussed on the mailing list [0] the property index must be enhanced to take the node type into account.
> [0] http://jackrabbit.markmail.org/thread/loudobqviwvhsli5

--
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

[jira] [Commented] (OAK-396) Limit property index to nodes of given type

Posted by "angela (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493147#comment-13493147 ] 

angela commented on OAK-396:
----------------------------

this is a bug not an improvement....
                
> Limit property index to nodes of given type
> -------------------------------------------
>
>                 Key: OAK-396
>                 URL: https://issues.apache.org/jira/browse/OAK-396
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.5
>            Reporter: Marcel Reutegger
>
> As discussed on the mailing list [0] the property index must be enhanced to take the node type into account.
> [0] http://jackrabbit.markmail.org/thread/loudobqviwvhsli5

--
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

[jira] [Updated] (OAK-396) Limit property index to nodes of given type

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated OAK-396:
--------------------------------

    Attachment: OAK-396.patch

proposed patch.

I took a simple approach by adding an optional property "declaringNodeTypes" which if defined will be compared against the indexed node type.
The declaringNodeTypes addition isn't hierarchy aware with regards to node types. 

Not declaring this property should fallback to previous behavior.

                
> Limit property index to nodes of given type
> -------------------------------------------
>
>                 Key: OAK-396
>                 URL: https://issues.apache.org/jira/browse/OAK-396
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.5
>            Reporter: Marcel Reutegger
>            Assignee: Alex Parvulescu
>         Attachments: OAK-396.patch
>
>
> As discussed on the mailing list [0] the property index must be enhanced to take the node type into account.
> [0] http://jackrabbit.markmail.org/thread/loudobqviwvhsli5

--
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