From 3be27df78e51930817137a1fb0ec557bbc3a49c9 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 21 Feb 2021 20:37:27 +0200 Subject: [PATCH] Update notes for 2021-02-21 --- content/posts/2021-02.md | 17 +++++++++++++++++ docs/2021-02/index.html | 20 ++++++++++++++++---- docs/categories/index.html | 2 +- docs/categories/notes/index.html | 2 +- docs/categories/notes/page/2/index.html | 2 +- docs/categories/notes/page/3/index.html | 2 +- docs/categories/notes/page/4/index.html | 2 +- docs/categories/notes/page/5/index.html | 2 +- docs/index.html | 2 +- docs/page/2/index.html | 2 +- docs/page/3/index.html | 2 +- docs/page/4/index.html | 2 +- docs/page/5/index.html | 2 +- docs/page/6/index.html | 2 +- docs/page/7/index.html | 2 +- docs/posts/index.html | 2 +- docs/posts/page/2/index.html | 2 +- docs/posts/page/3/index.html | 2 +- docs/posts/page/4/index.html | 2 +- docs/posts/page/5/index.html | 2 +- docs/posts/page/6/index.html | 2 +- docs/posts/page/7/index.html | 2 +- docs/sitemap.xml | 10 +++++----- 23 files changed, 58 insertions(+), 29 deletions(-) diff --git a/content/posts/2021-02.md b/content/posts/2021-02.md index 5d01c7cf9..6c0a0a43a 100644 --- a/content/posts/2021-02.md +++ b/content/posts/2021-02.md @@ -490,6 +490,17 @@ $ ./ilri/add-orcid-identifiers-csv.py -i 2021-02-17-add-tom-orcid.csv -db dspace ```console $ time chrt -b 0 ionice -c2 -n7 nice -n19 dspace index-discovery -b + +real 311m12.617s +user 217m3.102s +sys 2m37.363s +``` + +- Then update OAI: + +```console +$ dspace oai import -c +$ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx2048m" ``` - Ben Hack was asking if there is a REST API query that will give him all ILRI outputs for their new Sharepoint intranet @@ -510,5 +521,11 @@ $ dspace metadata-import -e aorth@mjanja.ch -f /tmp/cifor.csv - The process took an hour or so! - I added colorized output to the csv-metadata-quality tool and tagged [version 0.4.4 on GitHub](https://github.com/ilri/csv-metadata-quality/releases/tag/v0.4.4) +- I updated the fields in AReS Explorer and then removed the old temp index so I can start a fresh re-harvest of CGSpace: + +```console +$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp' +# start indexing in AReS +``` diff --git a/docs/2021-02/index.html b/docs/2021-02/index.html index d10f01b6a..b0e504d8b 100644 --- a/docs/2021-02/index.html +++ b/docs/2021-02/index.html @@ -32,7 +32,7 @@ $ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty - + @@ -70,9 +70,9 @@ $ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty "@type": "BlogPosting", "headline": "February, 2021", "url": "https://alanorth.github.io/cgspace-notes/2021-02/", - "wordCount": "3061", + "wordCount": "3111", "datePublished": "2021-02-01T10:13:54+02:00", - "dateModified": "2021-02-16T20:19:14+02:00", + "dateModified": "2021-02-21T18:20:37+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -642,6 +642,15 @@ $ ./ilri/add-orcid-identifiers-csv.py -i 2021-02-17-add-tom-orcid.csv -db dspace
  • After deploying the latest 6_x-prod branch and running migrate-fields.sh I started a full Discovery reindex:
  • $ time chrt -b 0 ionice -c2 -n7 nice -n19 dspace index-discovery -b
    +
    +real    311m12.617s
    +user    217m3.102s
    +sys     2m37.363s
    +
    +
    $ dspace oai import -c
    +$ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx2048m"