Gary,
If it is helpful, I have several SOLR stats queries in the following code:
https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/stats/solrFacets.php
I ran into some challenges knowing when to encode and when not to encode
special characters.
Terry
On Wed, Jul 1, 2015 at 11:10 PM, Gary Browne <gary.bro...@sydney.edu.au>
wrote:
> Hi all,
>
> I'm trying to figure out how to limit solr queries by date. I found this
> snippet online:
>
>
> http://mydspace.org/solr/statistics/select?bundleName:ORIGINAL&facet.date.start=NOW/MONTH/DAY-6MONTHS&facet.date.end=NOW&facet.date.gap=1MONTH+AND+type:0+bundleName:ORIGINAL
>
> it fails in my browser (yes, other solr searches work).
>
> I'm trying to come up, for starters, with a solr search query for top X
> items visited in the last X months.
>
> Can anyone point me in the right direction here, even to some
> documentation (I've done a lot of googling but nothing I've found so far
> helps with this question).
>
> THanks,
> Gary
>
> --
> *Gary Browne* | Development Programmer
> University of Sydney Library
> THE UNIVERSITY OF SYDNEY
> Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006
> *T* +61 2 9351 5946 | *M* +61 405 647 868
> *E* gary.bro...@sydney.edu.au
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette