Hi Nason,

On 01/06/13 02:01, Nason Bimbe wrote:
I am running Dspace 3.1 and I am interested in getting the number of downloads from SOLR.


and when I look at the results in the facets section, the numbers seems too high for a month's data. Looking into some of the docs returned I can see that some are bots yet my config says bots should be omitted.

The dspace config setting doesn't apply to manual queries like the one you're running. You will need to manually append &fq=-isBot:true to your query to exclude downloads by known bots.
http://localhost:8080/solr/statistics/select?indent=on&version=2.2&start=0&rows=100&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=&facet=true&facet.field=owningComm&q=type:0&fq=-isBot:true

You may wish to run
[dspace]/bin/dspace stats-util -u
[dspace]/bin/dspace stats-util -i
beforehand if you aren't running these regularly -- the first one ensures your bot IP lists are at the most recent version and the second one goes through all stats and marks hits from these IPs with "isBot:true".

Finally, you say you want a month's data yet your query shows no restriction by date. So unless your stats data only covers 1 month, your results will be for a much longer time period.

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

Reply via email to