cancel
Showing results for 
Search instead for 
Did you mean: 

archive element in content model

dbevacqua
Champ in-the-making
Champ in-the-making
Hi

Creating a content model at the moment to do some performance tests  - seems to compare favourably with Jackrabbit. (As an aside, the basic test is creating nodes with properties referencing already highly referenced nodes, something Jackrabbit does not handle well - IMHO a serious shortcoming).

Looking in contentModel.xml  at the definition of cm:content I see an element called "archive":


      <type name="cm:content">
         <title>Content</title>
         <parent>cm:cmobject</parent>
         <archive>true</archive>

         …
     </type>

Can't seem to find anything about it, either in Wiki/Fora or in the xml schema. What is it for? Is it anything to do with versioning?

I ask because with versioning turned off in Jackrabbit, the performance seems better than Alfresco for smaller numbers of nodes (but Jackrabbit does not seem to scale at all well).
1 REPLY 1

davidc
Star Contributor
Star Contributor
Hi,

The archive flag when enabled means that nodes of the given type are placed into the recycle bin (archive store) when deleted.

Btw, we've built a benchmark project for measuring various scenarios against the JSR-170 API as well our own native repository api.  This can be found in SVN.