[Dspace-tech] solr stats query

2013-08-29 Thread Jose Blanco
I would like to create a solr query that would tell me how many bitstreams were downloaded from my repository in a particular month. I would want the query NOT to include the spider downloads. So say, how many bitstreams were downloaded from my repository in August, not including things

Re: [Dspace-tech] solr stats query

2013-08-29 Thread Terry Brady
Jose, The following code illustrates the options that Georgetown has provided for filtering our statistics. The code builds up a query string that might help with your issue. The following file demonstrates how I constructed date range queries and queries for original bitstream downloads.

Re: [Dspace-tech] solr stats query

2013-08-29 Thread Jose Blanco
From looking at your code and not really knowing what the URL is suppose to look like, I created this URL which gave me an error:

Re: [Dspace-tech] solr stats query

2013-08-29 Thread Terry Brady
Jose, Try the following https://localhost/solr/statistics/select?indent=onfl=*,scorerows=10q=type:0+AND+bundleName:ORIGINAL+AND+time:[NOW-6MONTHS+TO+NOW] If you do not need faceted results, the query is a bit easier to construct. Terry On Thu, Aug 29, 2013 at 3:43 PM, Jose Blanco