mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2020-12-28
This commit is contained in:
@ -643,4 +643,29 @@ $ curl -X PUT "localhost:9200/openrxv-items-temp/_settings?pretty" -H 'Content-T
|
||||
- Finalize Swagger UI support in the dspace-statistics-api
|
||||
- I had to do some last minute changes to get it to work in both production and local development environments
|
||||
|
||||
## 2020-12-27
|
||||
|
||||
- More finishing touches on paging and versioning of the dspace-statistics-api
|
||||
- I tagged v1.4.0 and released it on GitHub: https://github.com/ilri/dspace-statistics-api/releases/tag/v1.4.0
|
||||
- I deployed it on DSpace Test and CGSpace
|
||||
|
||||
## 2020-12-28
|
||||
|
||||
- Peter noticed that the Atmire CUA stats on CGSpace weren't working
|
||||
- I looked in Solr Admin UI and saw that the statistics-2012 core failed to load:
|
||||
|
||||
```
|
||||
statistics-2012: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error opening new searcher
|
||||
```
|
||||
|
||||
- I exported the 2012 stats from the year core and imported them to the main statistics core with solr-import-export-json:
|
||||
|
||||
```console
|
||||
$ chrt -b 0 ./run.sh -s http://localhost:8081/solr/statistics-2012 -a export -o statistics-2012.json -k uid
|
||||
$ chrt -b 0 ./run.sh -s http://localhost:8081/solr/statistics -a import -o statistics-2010.json -k uid
|
||||
$ curl -s "http://localhost:8081/solr/statistics-2012/update?softCommit=true" -H "Content-Type: text/xml" --data-binary "<delete><query>*:*</query></delete>"
|
||||
```
|
||||
|
||||
- I decided to do the same for the remaining 2011, 2014, 2017, and 2019 cores...
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user