From ce748180850709714f8dbecf0311073bcad34cfd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 25 Jan 2021 16:37:30 +0200 Subject: [PATCH] Add notes for 2021-01-25 --- content/posts/2021-01.md | 34 +++++++++++++++++++++ docs/2021-01/index.html | 40 +++++++++++++++++++++++-- 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, 96 insertions(+), 28 deletions(-) diff --git a/content/posts/2021-01.md b/content/posts/2021-01.md index f8d33daa2..58a749f86 100644 --- a/content/posts/2021-01.md +++ b/content/posts/2021-01.md @@ -307,10 +307,44 @@ $ curl -XDELETE 'http://localhost:9200/openrxv-items-temp' # start indexing in AReS ``` +- Then, the next morning when it's done, check the results of the harvesting, backup the current `openrxv-items` index, and clone the `openrxv-items-temp` index to `openrxv-items`: + +```console +$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty' +{ + "count" : 100699, + "_shards" : { + "total" : 1, + "successful" : 1, + "skipped" : 0, + "failed" : 0 + } +} +$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.b +locks.write":true}}' +$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-01-25 +$ curl -XDELETE 'http://localhost:9200/openrxv-items' +$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}' +$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items +$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp' +$ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-01-25' +``` + - Resume working on CG Core v2, I realized a few things: - We are trying to move from `dc.identifier.issn` (and ISBN) to `cg.issn`, but this is currently implemented as a "qualdrop" input in DSpace's submission form, which only works to fill in the qualifier (ie `dc.identier.xxxx`) - If we really want to use `cg.issn` and `cg.isbn` we would need to add a new input field for each separately - We are trying to move series name/number fro m`dc.relation.ispartofseries` to `dcterms.isPartOf`, but this uses a special "series" input type in DSpace's submission form that joins series name and number with a colon (;) - If we really want to do that we need to add two separate input fields for each +## 2021-01-25 + +- Finish indexing AReS and adjusting the indexes (see above) +- Merged the changes for the favicon in to the `6_x-prod` branch +- Meeting with Peter and Abenet about CG Core v2 + - We agreed to go ahead with it ASAP and share a list of the changes with Macaroni, Fabio, and others and give them a firm timeline + - We also discussed the CSV export option on DSpace 6 and were surprised to see that it kinda works + - If you do a free-text search it works properly, but if you try to use the metadata filters it doesn't + - I changed the default setting to make it available to any logged in user and will deploy it on CGSpace this week + + diff --git a/docs/2021-01/index.html b/docs/2021-01/index.html index 565b36258..8b663dd77 100644 --- a/docs/2021-01/index.html +++ b/docs/2021-01/index.html @@ -27,7 +27,7 @@ For example, this item has 51 views on CGSpace, but 0 on AReS - + @@ -60,9 +60,9 @@ For example, this item has 51 views on CGSpace, but 0 on AReS "@type": "BlogPosting", "headline": "January, 2021", "url": "https://alanorth.github.io/cgspace-notes/2021-01/", - "wordCount": "2313", + "wordCount": "2526", "datePublished": "2021-01-03T10:13:54+02:00", - "dateModified": "2021-01-21T16:54:45+02:00", + "dateModified": "2021-01-24T17:40:56+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -515,6 +515,27 @@ localhost/dspace63= > COMMIT;
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
 # start indexing in AReS
 
+
$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty'
+{
+  "count" : 100699,
+  "_shards" : {
+    "total" : 1,
+    "successful" : 1,
+    "skipped" : 0,
+    "failed" : 0
+  }
+}
+$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.b
+locks.write":true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-01-25
+$ curl -XDELETE 'http://localhost:9200/openrxv-items'
+$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items
+$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
+$ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-01-25'
+
+

2021-01-25

+ diff --git a/docs/categories/index.html b/docs/categories/index.html index 9a13435a8..749d05ed7 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 52c20246b..0a4a59797 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 498b7799f..9c2a6531d 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 34e3d64de..7f59ffbfb 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 79f6dda1d..c4eab6ec9 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index 666767d34..0049f940e 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 7df56dd62..5dcce635a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 8fb9c9203..cfbc1697f 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 0f6008280..c6204e807 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index 2f8ca6bc4..b7b01e39b 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 7115dc006..f14fb203d 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 1e599e91c..ba433f334 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index f3a5bbaec..cd227f50c 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index ed79f97c2..3f4a43794 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 45df4988d..4a6ffaaed 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 38822cc8b..c46275b8f 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 8153150ba..ca3fa9eba 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 350862ff0..eae318bae 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index db945a2af..4ff3dd303 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 6c9eb1cff..0afa5c7ec 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 0b126fb67..2c5149930 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2021-01-24T17:40:08+02:00 + 2021-01-24T17:40:56+02:00 https://alanorth.github.io/cgspace-notes/ - 2021-01-24T17:40:08+02:00 + 2021-01-24T17:40:56+02:00 https://alanorth.github.io/cgspace-notes/2021-01/ - 2021-01-21T16:54:45+02:00 + 2021-01-24T17:40:56+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2021-01-24T17:40:08+02:00 + 2021-01-24T17:40:56+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2021-01-24T17:40:08+02:00 + 2021-01-24T17:40:56+02:00