[
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_v3.patch
take 3, action!
Updated the patch.
Now the same type node aggregates are not included by default.
Followed Jukka's advice and included a 'recursive' flag on the aggregate
definition (default is false).
I also added 'recursiveLimit' to control the number of levels up the indexing
should go (default 100 / 0 for infinite recusion).
This is how the config looks like now:
<aggregate primaryType="nt:folder" recursive="true" recursiveLimit="10">
So basically, now we are sure that the aggregates will not just sneak up on you
:)
For more info, you can also look at the tests.
> 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, JCR-2989_v3.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