Update notes for 2020-03-08

This commit is contained in:
Alan Orth 2020-03-08 14:28:39 +02:00
parent c95d907461
commit 619911f55e
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 20 additions and 10 deletions

View File

@ -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 - 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].*/'
```
<!-- vim: set sw=2 ts=2: --> <!-- vim: set sw=2 ts=2: -->

View File

@ -22,7 +22,7 @@ You need to download this into the DSpace 6.x source and compile it
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-03/" /> <meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-03/" />
<meta property="article:published_time" content="2020-03-02T12:31:30+02:00" /> <meta property="article:published_time" content="2020-03-02T12:31:30+02:00" />
<meta property="article:modified_time" content="2020-03-04T18:02:54+02:00" /> <meta property="article:modified_time" content="2020-03-08T13:34:56+02:00" />
<meta name="twitter:card" content="summary"/> <meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="March, 2020"/> <meta name="twitter:title" content="March, 2020"/>
@ -49,9 +49,9 @@ You need to download this into the DSpace 6.x source and compile it
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "March, 2020", "headline": "March, 2020",
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2020-03\/", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2020-03\/",
"wordCount": "358", "wordCount": "385",
"datePublished": "2020-03-02T12:31:30+02:00", "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": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -187,9 +187,14 @@ $ curl -s 'http://localhost:8081/solr/statistics-2012/select?q=time:2012*&amp;ro
&quot;response&quot;:{&quot;numFound&quot;:3761989,&quot;start&quot;:0,&quot;docs&quot;:[] &quot;response&quot;:{&quot;numFound&quot;:3761989,&quot;start&quot;:0,&quot;docs&quot;:[]
$ curl -s &quot;http://localhost:8081/solr/statistics-2012/update?softCommit=true&quot; -H &quot;Content-Type: text/xml&quot; --data-binary &quot;&lt;delete&gt;&lt;query&gt;time:2012*&lt;/query&gt;&lt;/delete&gt;&quot; $ curl -s &quot;http://localhost:8081/solr/statistics-2012/update?softCommit=true&quot; -H &quot;Content-Type: text/xml&quot; --data-binary &quot;&lt;delete&gt;&lt;query&gt;time:2012*&lt;/query&gt;&lt;/delete&gt;&quot;
</code></pre><ul> </code></pre><ul>
<li>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</li> <li>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
<ul>
<li>Exporting half years might work, using a filter query with months as a regular expression:</li>
</ul> </ul>
<!-- raw HTML omitted --> </li>
</ul>
<pre><code>$ ./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].*/'
</code></pre><!-- raw HTML omitted -->

View File

@ -4,27 +4,27 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc> <loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
<lastmod>2020-03-04T18:02:54+02:00</lastmod> <lastmod>2020-03-08T13:34:56+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2020-03-04T18:02:54+02:00</lastmod> <lastmod>2020-03-08T13:34:56+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2020-03/</loc> <loc>https://alanorth.github.io/cgspace-notes/2020-03/</loc>
<lastmod>2020-03-04T18:02:54+02:00</lastmod> <lastmod>2020-03-08T13:34:56+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
<lastmod>2020-03-04T18:02:54+02:00</lastmod> <lastmod>2020-03-08T13:34:56+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc> <loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2020-03-04T18:02:54+02:00</lastmod> <lastmod>2020-03-08T13:34:56+02:00</lastmod>
</url> </url>
<url> <url>