Add notes for 2020-12-28

This commit is contained in:
2020-12-28 17:10:15 +02:00
parent 60a733966c
commit 1b1db105ad
93 changed files with 171 additions and 119 deletions

View File

@ -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: -->