Re: [Dspace-tech] Customizing solr statistics display
Thanks Peter, that's what I was trying to find, but I was looking in [dspace-src]/dspace-stats/.. César. 2010/11/14 Peter Dietz dietz...@osu.edu Hi César, The default statistics display is for the past six months. This is not easily configurable (such as dspace.cfg), however, if you know where to look, its not a difficult change. Here is the usage in XMLUI: https://fisheye3.atlassian.com/browse/dspace/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java?r=HEAD#l178 And here is the JavaDoc of what your calling: http://projects.dspace.org/apidocs/org/dspace/statistics/content/DatasetTimeGenerator.html#setDateInterval(java.lang.String, java.lang.String, java.lang.String)http://projects.dspace.org/apidocs/org/dspace/statistics/content/DatasetTimeGenerator.html#setDateInterval%28java.lang.String,+java.lang.String,+java.lang.String%29 https://fisheye3.atlassian.com/browse/dspace/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java?r=HEAD#l178-6 is the past six months, reduce that to a smaller (natural) number to go less than six months back in the past. -- Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Wed, Nov 10, 2010 at 9:10 AM, César Sabater csaba...@unr.edu.arwrote: Hi all, I'm using dspace 1.6 solr stats and I want to change the display so it changes the start month. Now, it shows visits from may-2010 to nov-2010, I want to show only visits from sept-2010 to nov-2010. I would appreciate any help. Cheers César. -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Customizing solr statistics display
Hi César, The default statistics display is for the past six months. This is not easily configurable (such as dspace.cfg), however, if you know where to look, its not a difficult change. Here is the usage in XMLUI: https://fisheye3.atlassian.com/browse/dspace/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java?r=HEAD#l178 And here is the JavaDoc of what your calling: http://projects.dspace.org/apidocs/org/dspace/statistics/content/DatasetTimeGenerator.html#setDateInterval(java.lang.String, java.lang.String, java.lang.String) https://fisheye3.atlassian.com/browse/dspace/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java?r=HEAD#l178-6 is the past six months, reduce that to a smaller (natural) number to go less than six months back in the past. -- Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Wed, Nov 10, 2010 at 9:10 AM, César Sabater csaba...@unr.edu.ar wrote: Hi all, I'm using dspace 1.6 solr stats and I want to change the display so it changes the start month. Now, it shows visits from may-2010 to nov-2010, I want to show only visits from sept-2010 to nov-2010. I would appreciate any help. Cheers César. -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Customizing solr statistics display
Hi all, I'm using dspace 1.6 solr stats and I want to change the display so it changes the start month. Now, it shows visits from may-2010 to nov-2010, I want to show only visits from sept-2010 to nov-2010. I would appreciate any help. Cheers César. -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech