1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2025-01-26 04:13:22 +01:00
dspace-statistics-api/dspace_statistics_api
Alan Orth 40e284dac0
dspace_statistics_api/indexer.py: Query multiple shards
DSpace's stats-util script splits the Solr statistics core into yearly
shards. We need to use Solr's `shards` query parameter in order to get
the statistics for previous years. This commit adds a helper function
to enumerate the active Solr cores to find yearly shards matching the
statistics-YYYY pattern and add them to the query.
2019-01-22 08:39:36 +02:00
..
2018-10-28 11:14:21 +02:00
2018-11-04 00:04:27 +02:00