diff --git a/content/posts/2021-02.md b/content/posts/2021-02.md index c2a0ca29a..8a751e6ea 100644 --- a/content/posts/2021-02.md +++ b/content/posts/2021-02.md @@ -31,8 +31,7 @@ $ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty' - Set the current items index to read only and make a backup: ```console -$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d' -{"settings": {"index.blocks.write":true}}' +$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d' {"settings": {"index.blocks.write":true}}' $ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-02-01 ``` @@ -47,8 +46,8 @@ $ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items - Then delete the temp and backup: ```console -$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp' -{"acknowledged":true}% +$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp' +{"acknowledged":true}% $ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-02-01' ``` @@ -366,4 +365,40 @@ $ curl -XDELETE 'http://localhost:9200/openrxv-items-temp' $ ./ilri/move-metadata-values.py -i /tmp/move.txt -db dspace -u dspace -p 'fuuu' -f 43 -t 55 ``` +## 2021-02-15 + +- Check the results of the AReS Harvesting from last night: + +```console +$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty' +{ + "count" : 101126, + "_shards" : { + "total" : 1, + "successful" : 1, + "skipped" : 0, + "failed" : 0 + } +} +``` + +- Set the current items index to read only and make a backup: + +```console +$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d' {"settings": {"index.blocks.write":true}}' +$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-02-15 +``` + +- Delete the current items index and clone the temp one: + +```console +$ 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-02-15' +``` + +- Call with Abdullah from CodeObia to discuss community and collection statistics reporting + diff --git a/docs/2021-02/index.html b/docs/2021-02/index.html index 8ed7ac3f7..115d3312e 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": "2281", + "wordCount": "2397", "datePublished": "2021-02-01T10:13:54+02:00", - "dateModified": "2021-02-11T22:24:21+02:00", + "dateModified": "2021-02-14T20:00:24+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -170,8 +170,7 @@ $ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty -
$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d'
-{"settings": {"index.blocks.write":true}}'
+
$ curl -X PUT "localhost:9200/openrxv-items/_settings" -H 'Content-Type: application/json' -d' {"settings": {"index.blocks.write":true}}'
 $ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-02-01
 
-
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'       
-{"acknowledged":true}%                                                                                                               
+
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp'
+{"acknowledged":true}%
 $ curl -XDELETE 'http://localhost:9200/openrxv-items-2021-02-01'
 
$ ./ilri/move-metadata-values.py -i /tmp/move.txt -db dspace -u dspace -p 'fuuu' -f 43 -t 55
-
+

2021-02-15

+ +
$ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty'
+{
+  "count" : 101126,
+  "_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.blocks.write":true}}'
+$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2021-02-15
+
+
$ 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-02-15'
+
+ diff --git a/docs/categories/index.html b/docs/categories/index.html index d7ba7a8c6..c4d6be288 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 8dc20ccff..608ae9498 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 c45d7458b..fe27da5c5 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 f475fa7ab..2acc54df6 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 ba282f9bf..cd533e284 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 7a7e0f033..0a0ae3f96 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 6e532d112..2232d12a1 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 67775cc1c..13d25f8ae 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 c5ee12f0a..f3c687f77 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 f720f58cd..465bf11ad 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 6054aab00..8ddcd3e7a 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 826dca4c3..c93960e28 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 bb0a43894..c09dab313 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 012497bda..5c2ce51bf 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 65b02e19a..9c61d1e4c 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 0078ffb41..c69dd0dec 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 1050a1445..994795a8c 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 41cfc04f0..3496188be 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 08fe9e23e..d1bd163a0 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 58a340bf5..34a54eef9 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 0e7ba1fad..9f5948cf4 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2021-02-11T22:24:21+02:00 + 2021-02-14T20:00:24+02:00 https://alanorth.github.io/cgspace-notes/ - 2021-02-11T22:24:21+02:00 + 2021-02-14T20:00:24+02:00 https://alanorth.github.io/cgspace-notes/2021-02/ - 2021-02-11T22:24:21+02:00 + 2021-02-14T20:00:24+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2021-02-11T22:24:21+02:00 + 2021-02-14T20:00:24+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2021-02-11T22:24:21+02:00 + 2021-02-14T20:00:24+02:00