Hi Jason, > Hi. Sorry to resurrect this old thread > (http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg07602.html > ), but based on Stuart's response and our own experience in 1.5.2, the > Collection Strength display in XMLUI is not updated immediately after an > item is added to the collection, i.e. I have to run [dspace]/bin/dsrun > org.dspace.browse.ItemCounter via cron instead of it being invoked at > "ingest". Are there plans afoot to change this behavior?
This 'caching' mechanism was added because of the time it can take a large installation to calculate the strengths when the community page listing all the communities and collections is shown. If you just have a small installation, you could set the cron job to run quite often to update the counts. The situation could possibly be improved by writing an event consumer that updates the count table when a new item is added or mapped. If anyone wants to write this, it would make a good addition to the upcoming 1.6 release. Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech