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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2012/12/12 20:42:19 UTC

[jira] [Updated] (OAK-511) Query PropertyIndex that stores the index content as nodes

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

Alex Parvulescu updated OAK-511:
--------------------------------

    Attachment: OAK-511.patch

attaching proposed patch.

after a short talk with Thomas we came to the conclusion that at least initially the code will be a duplicate of the existing PropertyIndex rather than a direct evolution.

This doesn't mean that we'll keep the old code around much longer, it will just give us a way to bench the old against the new.

Tests look very good.

I'm guessing the NodeTypeIndex could be switched over for some more tests.


                
> Query PropertyIndex that stores the index content as nodes
> ----------------------------------------------------------
>
>                 Key: OAK-511
>                 URL: https://issues.apache.org/jira/browse/OAK-511
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>         Attachments: OAK-511.patch
>
>
> A current limitation of the PropertyIndex is that is stores the index content as multi value properties. This causes merge conflicts when there are concurrent updates to the index.
> A workaround was found to split the mvp into child-nodes. This alleviates the need for diffing the properties reducing the potential conflict area.

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