|
Hi Nason, On 05/06/13 02:18, Nason Bimbe wrote:
Did you add &fq=-isBot:true to your query? You need to add this, otherwise "bot" hits will still be included in your query results even after the two commands above.
I've customised the stats for "my" repository so much that I have no idea what's normally on that page. From the demo server, it looks like this lists the 10 items with the most downloads. To get those, you'd use: http://localhost:8080/solr/statistics/select?indent=true&rows=0&q=type:0&facet=true&facet.limit=10&facet.field=owningItem&fq=-isBot:true The English version of this query is something like
The type refers to the constants in Constants.java (https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/core/Constants.java). Probably the most important ones are 0 (bitstream downloads) and 2 (item page views). The id is always the internal id of the object concerned; for bitstreams, owningItem will hold the id of the bitstream's item. All other fields for view/download events look pretty self-explanatory to me; please ask if you have specific questions. There is documentation about all fields here: https://wiki.duraspace.org/display/DSDOC3x/DSpace+Statistics In particular, this section explains what fields are available for querying / faceting: https://wiki.duraspace.org/display/DSDOC3x/DSpace+Statistics#DSpaceStatistics-Whatisexactlybeinglogged? And this section explains a bit about custom queries: https://wiki.duraspace.org/display/DSDOC3x/DSpace+Statistics#DSpaceStatistics-CustomReporting-QueryingSOLRDirectly though much of figuring this out is just getting your head around Solr. Again, ask if you have specific questions. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand |
------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

