jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-2989) Support for embedded index aggregates
Date Fri, 17 Jun 2011 13:01:47 GMT

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

Alex Parvulescu updated JCR-2989:

    Attachment: JCR-2989_v2.patch

Attached a reworked patch.

It includes a soft limit for recursive aggregates. 
After talking with others about this, I've decided to put the limit at 100, this should give
us plenty of room to breathe.
So for the same type nodes, it only goes 100 (same type) parents up, then it stops updating.

The trick is that the limit is upward, because the way aggregation works. You start with a
child node that has been updated, and go up it's hierarchy.

The patch also includes the tiny optimisation I mentioned earlier, if it runs into a known
parent, it will stop, as the entire hierarchy is already on the update list.

> Support for embedded index aggregates
> -------------------------------------
>                 Key: JCR-2989
>                 URL: https://issues.apache.org/jira/browse/JCR-2989
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>            Priority: Minor
>         Attachments: JCR-2989.patch, JCR-2989_v2.patch
> Index aggregates could contain other index aggregates. JR should be able to handle a
complete hierarchy of aggregates. 
> I'm working on a patch.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message