From 2e12e568f9669ffb6bec317a15dc5ff32fec1164 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 8 Nov 2020 15:03:02 +0200 Subject: [PATCH] Update notes for 2020-11-08 --- content/posts/2020-11.md | 12 ++++++++++++ docs/2020-11/index.html | 19 ++++++++++++++++--- 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/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 +++++----- 22 files changed, 52 insertions(+), 27 deletions(-) diff --git a/content/posts/2020-11.md b/content/posts/2020-11.md index c5d1b3830..117335b70 100644 --- a/content/posts/2020-11.md +++ b/content/posts/2020-11.md @@ -63,5 +63,17 @@ sys 2m26.931s - Add "ANDEAN ROOTS AND TUBERS" to CIP subjects on CGSpace - Add CGIAR System subjects to Discovery sidebar facets on CGSpace - Also add the System subject to item view on CGSpace +- The statistics-2014 core finished processing after five hours, so I started processing the statistics-2013 core on DSpace Test +- Since I was going to restart CGSpace and update the Discovery indexes anyways I decided to check for any straggling upper case AGROVOC entries and lower case them: + +``` +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 164 +dspace=# COMMIT; +``` + +- Run system updates on CGSpace (linode18) and reboot it + - I had to restart Tomcat once after the machine started up to get all Solr statistics cores to load properly diff --git a/docs/2020-11/index.html b/docs/2020-11/index.html index 77f39d9cc..65bad2a3b 100644 --- a/docs/2020-11/index.html +++ b/docs/2020-11/index.html @@ -17,7 +17,7 @@ So far we’ve spent at least fifty hours to process the statistics and stat - + @@ -39,9 +39,9 @@ So far we’ve spent at least fifty hours to process the statistics and stat "@type": "BlogPosting", "headline": "November, 2020", "url": "https://alanorth.github.io/cgspace-notes/2020-11/", - "wordCount": "329", + "wordCount": "423", "datePublished": "2020-11-01T13:11:54+02:00", - "dateModified": "2020-11-07T16:22:36+02:00", + "dateModified": "2020-11-08T14:43:00+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -184,6 +184,19 @@ sys 2m26.931s
  • Also add the System subject to item view on CGSpace
  • +
  • The statistics-2014 core finished processing after five hours, so I started processing the statistics-2013 core on DSpace Test
  • +
  • Since I was going to restart CGSpace and update the Discovery indexes anyways I decided to check for any straggling upper case AGROVOC entries and lower case them:
  • + +
    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 164
    +dspace=# COMMIT;
    +
    diff --git a/docs/categories/index.html b/docs/categories/index.html index 463fac87f..5afadef1c 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 5c3565db7..bc85feb83 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index fdb920d67..83fefdda0 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index ec207ba5d..0be8e76d9 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 4da605dfc..ebfab7947 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/index.html b/docs/index.html index b5f00cb1d..efb040b78 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index eb5a35f1c..dccfbcebe 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 94fc13b2f..7c12524bb 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index a006e2a28..174c4590f 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 34d8940a9..68353fcbc 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index a86501aaf..6ca4edc8c 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 815f0f606..5cdf58d45 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 48ce6ee3e..93e1d2153 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index c42f28eac..58ae71908 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 8543d75f1..c6058b07a 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index b27791c08..3ed834ba8 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 4c9a3ad6e..b7efedf4e 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 8b95ea7ea..ba4a0633b 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 10201aef9..b507df8e1 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index fba5f571c..e7fae30cd 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2020-11-07T16:22:36+02:00 + 2020-11-08T14:43:00+02:00 https://alanorth.github.io/cgspace-notes/ - 2020-11-07T16:22:36+02:00 + 2020-11-08T14:43:00+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2020-11-07T16:22:36+02:00 + 2020-11-08T14:43:00+02:00 https://alanorth.github.io/cgspace-notes/2020-11/ - 2020-11-07T16:22:36+02:00 + 2020-11-08T14:43:00+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2020-11-07T16:22:36+02:00 + 2020-11-08T14:43:00+02:00