Dear All,

I'm trying to extract the number of downloads for a collection in DSpace 
repository (ver 5.4). When trying to get the top 10 number of downloads, it 
is easy by just using facet.limit=10. However, I was asked to extract the 5 
least downloaded items. By using the facet.limit=-1, I can get all the 
number of downloads for each items but my problem is that it was not sorted 
by the number of downloads (ascending or descending). I have to copy the 
results in a spreadsheet and manually sort the values. Is there a way to 
display the least N number of downloads and not using the facet.limit=-1 so 
that other items that I'm not interested will not show up? My solr query 
right now looks like this:
http://localhost:8080/solr/statistics/select?indent=true&rows=0&q=type:0&facet=true&facet.limit=-1&facet.field=owningItem&fq=-isBot:true&fq=time:[2018-01-01T00:00:00Z+TO+2019-01-01T00:00:00Z]&fq=owningColl:33&facet.mincount=1&wt=json

Thanks in advance!
euler

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to