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.

https://github.com/Georgetown-University-Libraries/DSpaceQCTools/blob/master/dspace-tools/web/solrFacets.php

I was not satisfied with the existing bot detection.  This code shows some
additional filters that I put into place to filter out bots.

https://github.com/Georgetown-University-Libraries/DSpaceQCTools/blob/master/dspace-tools/web/solrStats.php

Terry



On Thu, Aug 29, 2013 at 12:22 PM, Jose Blanco <[email protected]> wrote:

> 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 downloaded by spiders.
>
> Working from this as an example, I don't see how to come up with the query.
>
> Top downloaded items by a specific user:
>
>
>
> http://localhost/solr/statistics/select?indent=on&version=2.2&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=&facet=true&facet.field=epersonid&q=type:0
>
> Thank you!
> Jose
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> 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
>



-- 
Terry Brady
Applications Programmer Analyst
Lauinger Information Technology
202-687-7053
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
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