cancel
Showing results for 
Search instead for 
Did you mean: 

recent_doc.ftl take about 5 or 10 minutes ???

Not applicable
Hello,

I want to know all recent file each time, I log in alfresco for all repository.

So I configure the recent_doc template on the repository root but this take a long time.

Is it normal ?

Is there an other possiblity ? I can't use RSS because it doesn't work with authentication and I don't want to open all the repository to the guest user.

Thanks
Regards,
Chris
1 REPLY 1

kevinr
Star Contributor
Star Contributor
You are effectively performing a slow xpath "//*" against the entire repo! Since you are always working from a known location you could change the template to use a Lucene search (much, much faster!) instead. There was a bug in the //* xpath evaluation that caused an N*N performance degredation, this has been fixed now but will require you to patch your 1.4 installation by hand:
http://issues.alfresco.com/browse/AR-1114
and also the bug that it depends on
http://issues.alfresco.com/browse/AR-1123

Thanks,

Kevin