[ 
https://issues.apache.org/jira/browse/JCR-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050305#comment-13050305
 ] 

Jukka Zitting commented on JCR-2989:
------------------------------------

I'm a bit worried about the possibility of accidentally creating huge 
aggregates with this. For example, will the following create index aggregates 
of an entire folder structure, traversed recursively whenever any of the 
folders gets modified?
 
    <aggregate primaryType="nt:folder">
        <include primaryType="nt:folder">*</include>
    </aggregate>

It might be good to either prevent recursive aggregates (only allow different 
aggregate definitions to be embedded) or to require some explicit 
recursive="true" annotation on such aggregate definitions to make sure the user 
knows what they're doing. 

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

        

Reply via email to