Add notes for 2022-09-06

This commit is contained in:
2022-09-06 17:48:46 +03:00
parent ac66d6c1a9
commit 5972b89839
29 changed files with 53 additions and 34 deletions

View File

@ -25,7 +25,7 @@ I also fixed a few bugs and improved the region-matching logic
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2022-01/" />
<meta property="article:published_time" content="2022-01-01T09:41:36+03:00" />
<meta property="article:modified_time" content="2022-09-02T16:41:19+03:00" />
<meta property="article:modified_time" content="2022-09-05T16:59:11+03:00" />
@ -56,9 +56,9 @@ I also fixed a few bugs and improved the region-matching logic
"@type": "BlogPosting",
"headline": "September, 2022",
"url": "https://alanorth.github.io/cgspace-notes/2022-01/",
"wordCount": "558",
"wordCount": "629",
"datePublished": "2022-01-01T09:41:36+03:00",
"dateModified": "2022-09-02T16:41:19+03:00",
"dateModified": "2022-09-05T16:59:11+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -235,6 +235,17 @@ I also fixed a few bugs and improved the region-matching logic
</span></span></code></pre></div><ul>
<li>Then I will add these user agents to the ILRI spider override in DSpace</li>
</ul>
<h2 id="2022-09-06">2022-09-06</h2>
<ul>
<li>I&rsquo;m testing dspace-statistics-api with our DSpace 7 test server
<ul>
<li>After setting up the env and the database the <code>python -m dspace_statistics_api.indexer</code> runs without issues</li>
<li>While playing with Solr I tried to search for statistics from this month using <code>time:2022-09*</code> but I get this error: &ldquo;Can&rsquo;t run prefix queries on numeric fields&rdquo;</li>
<li>I guess that the syntax in Solr changed since 4.10&hellip;</li>
<li>This works, but is super annoying: <code>time:[2022-09-01T00:00:00Z TO 2022-09-30T23:59:59Z]</code></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->