mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2021-06-06
This commit is contained in:
@ -38,4 +38,24 @@ https://cgspace.cgiar.org/open-search/discover?query=subject:water%20scarcity&sc
|
||||
- Otherwise, another alternative would be to use the IWMI CSV that we are already exporting every week
|
||||
- Fill out the *CGIAR-AGROVOC Task Group: Survey on the current CGIAR use of AGROVOC* survey on behalf of CGSpace
|
||||
|
||||
## 2021-06-06
|
||||
|
||||
- The Elasticsearch indexes are messed up so I dumped and re-created them correctly:
|
||||
|
||||
```console
|
||||
curl -XDELETE 'http://localhost:9200/openrxv-items-final'
|
||||
curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
|
||||
curl -XPUT 'http://localhost:9200/openrxv-items-final'
|
||||
curl -XPUT 'http://localhost:9200/openrxv-items-temp'
|
||||
curl -s -X POST 'http://localhost:9200/_aliases' -H 'Content-Type: application/json' -d'{"actions" : [{"add" : { "index" : "openrxv-items-final", "alias" : "openrxv-items"}}]}'
|
||||
elasticdump --input=/home/aorth/openrxv-items_mapping.json --output=http://localhost:9200/openrxv-items-final --type=mapping
|
||||
elasticdump --input=/home/aorth/openrxv-items_data.json --output=http://localhost:9200/openrxv-items-final --type=data --limit=1000
|
||||
```
|
||||
|
||||
- Then I started a harvesting on AReS
|
||||
|
||||
## 2021-06-07
|
||||
|
||||
- The harvesting on AReS completed successfully
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user