From 619911f55e016acd1ad822f802f235335ed01e48 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 8 Mar 2020 14:28:39 +0200 Subject: [PATCH] Update notes for 2020-03-08 --- content/posts/2020-03.md | 5 +++++ docs/2020-03/index.html | 15 ++++++++++----- docs/sitemap.xml | 10 +++++----- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/content/posts/2020-03.md b/content/posts/2020-03.md index c7549079d..abb9d61a6 100644 --- a/content/posts/2020-03.md +++ b/content/posts/2020-03.md @@ -64,5 +64,10 @@ $ curl -s "http://localhost:8081/solr/statistics-2012/update?softCommit=true" -H ``` - I will do this for as many cores as I can (disk space limited) and then monitor the effect on the system and JVM memory usage + - Exporting half years might work, using a filter query with months as a regular expression: + +``` +$ ./run.sh -s http://localhost:8081/solr/statistics-2014 -a export -o /tmp/statistics-2014-1.json -k uid -f 'time:/2014-0[1-6].*/' +``` diff --git a/docs/2020-03/index.html b/docs/2020-03/index.html index 81157f80d..c79fe42f8 100644 --- a/docs/2020-03/index.html +++ b/docs/2020-03/index.html @@ -22,7 +22,7 @@ You need to download this into the DSpace 6.x source and compile it - + @@ -49,9 +49,9 @@ You need to download this into the DSpace 6.x source and compile it "@type": "BlogPosting", "headline": "March, 2020", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2020-03\/", - "wordCount": "358", + "wordCount": "385", "datePublished": "2020-03-02T12:31:30+02:00", - "dateModified": "2020-03-04T18:02:54+02:00", + "dateModified": "2020-03-08T13:34:56+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -187,9 +187,14 @@ $ curl -s 'http://localhost:8081/solr/statistics-2012/select?q=time:2012*&ro "response":{"numFound":3761989,"start":0,"docs":[] $ curl -s "http://localhost:8081/solr/statistics-2012/update?softCommit=true" -H "Content-Type: text/xml" --data-binary "<delete><query>time:2012*</query></delete>" +
$ ./run.sh -s http://localhost:8081/solr/statistics-2014 -a export -o /tmp/statistics-2014-1.json -k uid -f 'time:/2014-0[1-6].*/'
+
diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 00f279a9e..da119d28a 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2020-03-04T18:02:54+02:00 + 2020-03-08T13:34:56+02:00 https://alanorth.github.io/cgspace-notes/ - 2020-03-04T18:02:54+02:00 + 2020-03-08T13:34:56+02:00 https://alanorth.github.io/cgspace-notes/2020-03/ - 2020-03-04T18:02:54+02:00 + 2020-03-08T13:34:56+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2020-03-04T18:02:54+02:00 + 2020-03-08T13:34:56+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2020-03-04T18:02:54+02:00 + 2020-03-08T13:34:56+02:00