diff --git a/content/posts/2018-11.md b/content/posts/2018-11.md index 34a0b939d..73185d776 100644 --- a/content/posts/2018-11.md +++ b/content/posts/2018-11.md @@ -326,4 +326,10 @@ $ ./delete-metadata-values.py -i 2018-11-19-delete-agrovoc.csv -f dc.subject -m $ time schedtool -D -e ionice -c2 -n7 nice -n19 dspace index-discovery -b ``` +- Generate a new list of the top 1500 AGROVOC subjects on CGSpace to send to Peter and Sisay: + +``` +dspace=# \COPY (SELECT DISTINCT text_value, count(*) FROM metadatavalue WHERE metadata_field_id = 57 AND resource_type_id = 2 GROUP BY text_value ORDER BY count DESC LIMIT 1500) to /tmp/2018-11-19-top-1500-subject.csv WITH CSV HEADER; +``` + diff --git a/docs/2018-11/index.html b/docs/2018-11/index.html index 6bbd8cc02..575ca9be2 100644 --- a/docs/2018-11/index.html +++ b/docs/2018-11/index.html @@ -21,7 +21,7 @@ Today these are the top 10 IPs: " /> - + @@ -48,9 +48,9 @@ Today these are the top 10 IPs: "@type": "BlogPosting", "headline": "November, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-11/", - "wordCount": "1726", + "wordCount": "1774", "datePublished": "2018-11-01T16:41:30+02:00", - "dateModified": "2018-11-18T17:35:32+02:00", + "dateModified": "2018-11-19T17:17:04+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -483,6 +483,13 @@ $ ./delete-metadata-values.py -i 2018-11-19-delete-agrovoc.csv -f dc.subject -m
$ time schedtool -D -e ionice -c2 -n7 nice -n19 dspace index-discovery -b
 
+ + +
dspace=# \COPY (SELECT DISTINCT text_value, count(*) FROM metadatavalue WHERE metadata_field_id = 57 AND resource_type_id = 2 GROUP BY text_value ORDER BY count DESC LIMIT 1500) to /tmp/2018-11-19-top-1500-subject.csv WITH CSV HEADER;
+
+ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 72a5df5be..ee168c7b9 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-11/ - 2018-11-18T17:35:32+02:00 + 2018-11-19T17:17:04+02:00 @@ -194,7 +194,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-11-18T17:35:32+02:00 + 2018-11-19T17:17:04+02:00 0 @@ -205,7 +205,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-11-18T17:35:32+02:00 + 2018-11-19T17:17:04+02:00 0 @@ -217,13 +217,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2018-11-18T17:35:32+02:00 + 2018-11-19T17:17:04+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-11-18T17:35:32+02:00 + 2018-11-19T17:17:04+02:00 0