Count of Items at specific dates

11 views
Skip to first unread message

Sean Carte

unread,
Oct 24, 2020, 4:39:07 AM10/24/20
to DSpace Technical Support
I'm trying to generate a count of all items in our repository for each year for the preceding four years:

Year         :  count of items
20200101: n
20190101: n
20180101: n
20170101: n

Is this possible?

I thought it might be possible with solr, but my ability to generate solr queries is basically non-existent. I can't even seem to get the current count of items right although that query is recorded in the log.

From the log when selecting community-list:
path=/select params={f.location.coll.facet.sort=count&facet.field=location.comm&facet.field=location.coll&fl=handle,search.resourcetype,search.resourceid&start=0&fq=NOT(withdrawn:true)&fq=NOT(discoverable:false)&fq=search.resourcetype:2&fq=NOT(discoverable:false)&fq=read:(g0+OR+g0+OR+g55)&rows=0&version=2&q=*:*&f.location.coll.facet.limit=-1&facet.mincount=1&facet=true&f.location.comm.facet.sort=count&wt=javabin&facet.offset=0&f.location.comm.facet.limit=-1} hits=3089 status=0 QTime=2

My query:
/solr/search/select/?q=start=0&withdrawn:false&discoverable:true&search.resourcetype:2&q=*:*&rows=0
returns 2134

I think I may not be on the right track here, if there is a track to be on.
Reply all
Reply to author
Forward
0 new messages