Hi Andrea,
Thank you very much for your reply. Yes the stats data was for one month
only (May) that's why I did not add the date filter.
I have run
[dspace]/bin/dspace stats-util -u
[dspace]/bin/dspace stats-util -i
Then the SOLR query and nothing has changed.
If I may ask do you now the query used by the 'View Usage Statistics' link
in XMLUI because the stats displayed look more reasonable, in other words
can I replicate the query by querying SOLR directly? Would you also be in a
position to explain the possible values for type in the query for me
please? For example I have seen posts describing number of downloads as
being of type = 0 in SOLR.
Thanking you in advance.
Nason
-
On 4 June 2013 01:19, Andrea Schweer <[email protected]> wrote:
> 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.
>
> I run this
> 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
>
> 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<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>
>
> 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