mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2020-10-28
This commit is contained in:
@ -917,4 +917,22 @@ $ curl -XDELETE http://localhost:9200/openrxv-values
|
||||
$ curl -XPOST http://localhost:9200/openrxv-values/_doc/_bulk -H "Content-Type: application/json" --data-binary @/tmp/new-elasticsearch-mappings.txt
|
||||
```
|
||||
|
||||
- The latest indexing (second for today!) finally finshed on AReS and the countries and affiliations/crps/journals all look MUCH better
|
||||
- There are still a few acronyms present, some of which are in the value mappings and some which aren't
|
||||
- Lower case some straggling AGROVOC subjects on CGSpace:
|
||||
|
||||
```
|
||||
dspace=# BEGIN;
|
||||
dspace=# UPDATE metadatavalue SET text_value=LOWER(text_value) WHERE resource_type_id=2 AND metadata_field_id=57 AND text_value ~ '[[:upper:]]';
|
||||
UPDATE 123
|
||||
dspace=# COMMIT;
|
||||
```
|
||||
|
||||
- Move some top-level communities to the CGIAR System community for Peter:
|
||||
|
||||
```
|
||||
$ dspace community-filiator --set --parent 10568/83389 --child 10568/1208
|
||||
$ dspace community-filiator --set --parent 10568/83389 --child 10568/56924
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user