How can I get a list of top downloads for a collection during a specified
time period from solr?

It looks like I should be able to modify the example query in the
documentation at https://wiki.lyrasis.org/display/DSDOC5x/SOLR+Statistics
to do what I want, but I don't know what to use as a facet.field, nor even
if this should work. This is my attempt, but it doesn't seem to produce a
different result to the original, which uses 'epersonid' as the facet.field:

/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=itemid&q=type:0+owningColl:9+isBot:false+time:[2021-01-01T00:00:00Z+TO+2021-11-30T00:00:00Z]

Sean
DSpace version:  CRIS-5.10.0-SNAPSHOT
  SCM revision:  67e7d010e7eda86925980b2a43581b9d4f4929a3
    SCM branch:  dspace-5_x_x-cris
            OS:  Linux(amd64) version 4.4.0-210-generic
  Applications:
     Discovery:  enabled.
           JRE:  Private Build version 1.8.0_292
   Ant version:  Apache Ant(TM) version 1.9.6 compiled on July 20 2018
 Maven version:  3.3.9

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CA%2BxAuhP05B0vYuUn5rjg%3D_aVdVx_6trb6-vyGc%3DQq56%3DoyiJGA%40mail.gmail.com.

Reply via email to