diff --git a/content/posts/2024-05.md b/content/posts/2024-05.md index a9c28f06a..1532deede 100644 --- a/content/posts/2024-05.md +++ b/content/posts/2024-05.md @@ -83,4 +83,27 @@ $ csvgrep -c 'dc.description.provenance[en_US]' -m 'CONTENTdm' cgspace.csv \ https://dspace7test.ilri.org/server/api/pid/find?id=10568/118424 ``` +## 2024-05-15 + +- I got journal titles for 2,900 journal articles that were missing them from Crossref + +## 2024-05-16 + +Helping IFPRI with some DSpace 7 API support, these are two queries for items issued in 2024: + - https://dspace7test.ilri.org/server/api/discover/search/objects?query=dcterms.issued:2024 + - https://dspace7test.ilri.org/server/api/discover/search/objects?query=dcterms.issued_dt%3A%5B2024-01-01T00%3A00%3A00Z%20TO%20%2A%5D — note the Lucene search syntax is URL encoded version of `:[2024-01-01T00:00:00Z TO *]` + +Both of them return the same number of results and seem identitical as far as I can see, but the second one uses Solr date indexes and requires the full Lucene datetime and range syntax + +I wrote a new version of the `check_duplicates.py` script to help identify duplicates with different types + - Initially I called it `check_duplicates_fast.py` but it's actually not faster + - I need to find a way to deal with duplicates from IFPRI's repository because there are some mismatched types... + +## 2024-05-20 + +Continue working through alternative duplicate matching for IFPRI + - Their item types are sometimes different than ours... + - One thing I think I can say for sure is that the default similarity factor in my script is 0.6, and I rarely see legitimate duplicates with such similarity so I might increase this to 0.7 to reduce the number of items I have to check + - Also, the difference in issue dates is currently 365, but I should reduce that a bit, perhaps to 270 days (9 months) + diff --git a/docs/2015-11/index.html b/docs/2015-11/index.html index 4b54fa4ff..ab6695510 100644 --- a/docs/2015-11/index.html +++ b/docs/2015-11/index.html @@ -34,7 +34,7 @@ Last week I had increased the limit from 30 to 60, which seemed to help, but now $ psql -c 'SELECT * from pg_stat_activity;' | grep idle | grep -c cgspace 78 "/> - + diff --git a/docs/2015-12/index.html b/docs/2015-12/index.html index 2d29da4f7..aa9061b46 100644 --- a/docs/2015-12/index.html +++ b/docs/2015-12/index.html @@ -36,7 +36,7 @@ Replace lzop with xz in log compression cron jobs on DSpace Test—it uses less -rw-rw-r-- 1 tomcat7 tomcat7 387K Nov 18 23:59 dspace.log.2015-11-18.lzo -rw-rw-r-- 1 tomcat7 tomcat7 169K Nov 18 23:59 dspace.log.2015-11-18.xz "/> - + diff --git a/docs/2016-01/index.html b/docs/2016-01/index.html index b417ad910..6ae2b41b6 100644 --- a/docs/2016-01/index.html +++ b/docs/2016-01/index.html @@ -28,7 +28,7 @@ Move ILRI collection 10568/12503 from 10568/27869 to 10568/27629 using the move_ I realized it is only necessary to clear the Cocoon cache after moving collections—rather than reindexing—as no metadata has changed, and therefore no search or browse indexes need to be updated. Update GitHub wiki for documentation of maintenance tasks. "/> - + diff --git a/docs/2016-02/index.html b/docs/2016-02/index.html index 4234a6842..dc67b2fa6 100644 --- a/docs/2016-02/index.html +++ b/docs/2016-02/index.html @@ -38,7 +38,7 @@ I noticed we have a very interesting list of countries on CGSpace: Not only are there 49,000 countries, we have some blanks (25)… Also, lots of things like “COTE D`LVOIRE” and “COTE D IVOIRE” "/> - + diff --git a/docs/2016-03/index.html b/docs/2016-03/index.html index f87bf7ac9..bb24f3681 100644 --- a/docs/2016-03/index.html +++ b/docs/2016-03/index.html @@ -28,7 +28,7 @@ Looking at issues with author authorities on CGSpace For some reason we still have the index-lucene-update cron job active on CGSpace, but I’m pretty sure we don’t need it as of the latest few versions of Atmire’s Listings and Reports module Reinstall my local (Mac OS X) DSpace stack with Tomcat 7, PostgreSQL 9.3, and Java JDK 1.7 to match environment on CGSpace server "/> - + diff --git a/docs/2016-04/index.html b/docs/2016-04/index.html index dfe288562..fe6fe40b7 100644 --- a/docs/2016-04/index.html +++ b/docs/2016-04/index.html @@ -32,7 +32,7 @@ After running DSpace for over five years I’ve never needed to look in any This will save us a few gigs of backup space we’re paying for on S3 Also, I noticed the checker log has some errors we should pay attention to: "/> - + diff --git a/docs/2016-05/index.html b/docs/2016-05/index.html index ff3121674..97e101561 100644 --- a/docs/2016-05/index.html +++ b/docs/2016-05/index.html @@ -34,7 +34,7 @@ There are 3,000 IPs accessing the REST API in a 24-hour period! # awk '{print $1}' /var/log/nginx/rest.log | uniq | wc -l 3168 "/> - + diff --git a/docs/2016-06/index.html b/docs/2016-06/index.html index d8bb0a49a..b34c61a02 100644 --- a/docs/2016-06/index.html +++ b/docs/2016-06/index.html @@ -34,7 +34,7 @@ This is their publications set: http://ebrary.ifpri.org/oai/oai.php?verb=ListRec You can see the others by using the OAI ListSets verb: http://ebrary.ifpri.org/oai/oai.php?verb=ListSets Working on second phase of metadata migration, looks like this will work for moving CPWF-specific data in dc.identifier.fund to cg.identifier.cpwfproject and then the rest to dc.description.sponsorship "/> - + diff --git a/docs/2016-07/index.html b/docs/2016-07/index.html index cd7947b04..ce497bdb3 100644 --- a/docs/2016-07/index.html +++ b/docs/2016-07/index.html @@ -44,7 +44,7 @@ dspacetest=# select text_value from metadatavalue where metadata_field_id=3 and In this case the select query was showing 95 results before the update "/> - + diff --git a/docs/2016-08/index.html b/docs/2016-08/index.html index 59ffeb1c9..3a9c38a70 100644 --- a/docs/2016-08/index.html +++ b/docs/2016-08/index.html @@ -42,7 +42,7 @@ $ git checkout -b 55new 5_x-prod $ git reset --hard ilri/5_x-prod $ git rebase -i dspace-5.5 "/> - + diff --git a/docs/2016-09/index.html b/docs/2016-09/index.html index b7c519603..3cf318f37 100644 --- a/docs/2016-09/index.html +++ b/docs/2016-09/index.html @@ -34,7 +34,7 @@ It looks like we might be able to use OUs now, instead of DCs: $ ldapsearch -x -H ldaps://svcgroot2.cgiarad.org:3269/ -b "dc=cgiarad,dc=org" -D "admigration1@cgiarad.org" -W "(sAMAccountName=admigration1)" "/> - + diff --git a/docs/2016-10/index.html b/docs/2016-10/index.html index a050141f5..a1209d69f 100644 --- a/docs/2016-10/index.html +++ b/docs/2016-10/index.html @@ -42,7 +42,7 @@ I exported a random item’s metadata as CSV, deleted all columns except id 0000-0002-6115-0956||0000-0002-3812-8793||0000-0001-7462-405X "/> - + diff --git a/docs/2016-11/index.html b/docs/2016-11/index.html index 6ad400ffa..57d5f391c 100644 --- a/docs/2016-11/index.html +++ b/docs/2016-11/index.html @@ -26,7 +26,7 @@ Add dc.type to the output options for Atmire’s Listings and Reports module Add dc.type to the output options for Atmire’s Listings and Reports module (#286) "/> - + diff --git a/docs/2016-12/index.html b/docs/2016-12/index.html index 4c60069b6..93dab4a23 100644 --- a/docs/2016-12/index.html +++ b/docs/2016-12/index.html @@ -46,7 +46,7 @@ I see thousands of them in the logs for the last few months, so it’s not r I’ve raised a ticket with Atmire to ask Another worrying error from dspace.log is: "/> - + diff --git a/docs/2017-01/index.html b/docs/2017-01/index.html index 51298957a..e0ee9ff8e 100644 --- a/docs/2017-01/index.html +++ b/docs/2017-01/index.html @@ -28,7 +28,7 @@ I checked to see if the Solr sharding task that is supposed to run on January 1s I tested on DSpace Test as well and it doesn’t work there either I asked on the dspace-tech mailing list because it seems to be broken, and actually now I’m not sure if we’ve ever had the sharding task run successfully over all these years "/> - + diff --git a/docs/2017-02/index.html b/docs/2017-02/index.html index 14f179838..d7bb1ca0f 100644 --- a/docs/2017-02/index.html +++ b/docs/2017-02/index.html @@ -50,7 +50,7 @@ DELETE 1 Create issue on GitHub to track the addition of CCAFS Phase II project tags (#301) Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name "/> - + diff --git a/docs/2017-03/index.html b/docs/2017-03/index.html index 2a4cec7d9..34b63be81 100644 --- a/docs/2017-03/index.html +++ b/docs/2017-03/index.html @@ -54,7 +54,7 @@ Interestingly, it seems DSpace 4.x’s thumbnails were sRGB, but forcing reg $ identify ~/Desktop/alc_contrastes_desafios.jpg /Users/aorth/Desktop/alc_contrastes_desafios.jpg JPEG 464x600 464x600+0+0 8-bit CMYK 168KB 0.000u 0:00.000 "/> - + diff --git a/docs/2017-04/index.html b/docs/2017-04/index.html index 91b1a4ce7..1420984ea 100644 --- a/docs/2017-04/index.html +++ b/docs/2017-04/index.html @@ -40,7 +40,7 @@ Testing the CMYK patch on a collection with 650 items: $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p "ImageMagick PDF Thumbnail" -v >& /tmp/filter-media-cmyk.txt "/> - + diff --git a/docs/2017-05/index.html b/docs/2017-05/index.html index 04c7df790..79f078d92 100644 --- a/docs/2017-05/index.html +++ b/docs/2017-05/index.html @@ -18,7 +18,7 @@ - + diff --git a/docs/2017-06/index.html b/docs/2017-06/index.html index 33189f156..6de67985c 100644 --- a/docs/2017-06/index.html +++ b/docs/2017-06/index.html @@ -18,7 +18,7 @@ - + diff --git a/docs/2017-07/index.html b/docs/2017-07/index.html index e9a2bc4b0..0a8fc6644 100644 --- a/docs/2017-07/index.html +++ b/docs/2017-07/index.html @@ -36,7 +36,7 @@ Merge changes for WLE Phase II theme rename (#329) Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace We can use PostgreSQL’s extended output format (-x) plus sed to format the output into quasi XML: "/> - + diff --git a/docs/2017-08/index.html b/docs/2017-08/index.html index 3beb96867..96e5d69f6 100644 --- a/docs/2017-08/index.html +++ b/docs/2017-08/index.html @@ -60,7 +60,7 @@ This was due to newline characters in the dc.description.abstract column, which I exported a new CSV from the collection on DSpace Test and then manually removed the characters in vim using g/^$/d Then I cleaned up the author authorities and HTML characters in OpenRefine and sent the file back to Abenet "/> - + diff --git a/docs/2017-09/index.html b/docs/2017-09/index.html index e2b08e802..da89eca4f 100644 --- a/docs/2017-09/index.html +++ b/docs/2017-09/index.html @@ -32,7 +32,7 @@ Linode sent an alert that CGSpace (linode18) was using 261% CPU for the past two Ask Sisay to clean up the WLE approvers a bit, as Marianne’s user account is both in the approvers step as well as the group "/> - + diff --git a/docs/2017-10/index.html b/docs/2017-10/index.html index 69c1f18c3..592ce3a51 100644 --- a/docs/2017-10/index.html +++ b/docs/2017-10/index.html @@ -34,7 +34,7 @@ http://hdl.handle.net/10568/78495||http://hdl.handle.net/10568/79336 There appears to be a pattern but I’ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections "/> - + diff --git a/docs/2017-11/index.html b/docs/2017-11/index.html index 08bb59973..53154e31e 100644 --- a/docs/2017-11/index.html +++ b/docs/2017-11/index.html @@ -48,7 +48,7 @@ Generate list of authors on CGSpace for Peter to go through and correct: dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/authors.csv with csv; COPY 54701 "/> - + diff --git a/docs/2017-12/index.html b/docs/2017-12/index.html index fce8d89f6..57bc5922e 100644 --- a/docs/2017-12/index.html +++ b/docs/2017-12/index.html @@ -30,7 +30,7 @@ The logs say “Timeout waiting for idle object” PostgreSQL activity says there are 115 connections currently The list of connections to XMLUI and REST API for today: "/> - + diff --git a/docs/2018-01/index.html b/docs/2018-01/index.html index 77fc1df54..838329525 100644 --- a/docs/2018-01/index.html +++ b/docs/2018-01/index.html @@ -150,7 +150,7 @@ dspace.log.2018-01-02:34 Danny wrote to ask for help renewing the wildcard ilri.org certificate and I advised that we should probably use Let’s Encrypt if it’s just a handful of domains "/> - + diff --git a/docs/2018-02/index.html b/docs/2018-02/index.html index 3150ebcb9..eb45e23d9 100644 --- a/docs/2018-02/index.html +++ b/docs/2018-02/index.html @@ -30,7 +30,7 @@ We don’t need to distinguish between internal and external works, so that Yesterday I figured out how to monitor DSpace sessions using JMX I copied the logic in the jmx_tomcat_dbpools provided by Ubuntu’s munin-plugins-java package and used the stuff I discovered about JMX in 2018-01 "/> - + diff --git a/docs/2018-03/index.html b/docs/2018-03/index.html index d2f2b6df6..1ec90ae67 100644 --- a/docs/2018-03/index.html +++ b/docs/2018-03/index.html @@ -24,7 +24,7 @@ Export a CSV of the IITA community metadata for Martin Mueller Export a CSV of the IITA community metadata for Martin Mueller "/> - + diff --git a/docs/2018-04/index.html b/docs/2018-04/index.html index 46ec0cec1..ce837dd27 100644 --- a/docs/2018-04/index.html +++ b/docs/2018-04/index.html @@ -26,7 +26,7 @@ Catalina logs at least show some memory errors yesterday: I tried to test something on DSpace Test but noticed that it’s down since god knows when Catalina logs at least show some memory errors yesterday: "/> - + diff --git a/docs/2018-05/index.html b/docs/2018-05/index.html index 12328c007..cf70295ff 100644 --- a/docs/2018-05/index.html +++ b/docs/2018-05/index.html @@ -38,7 +38,7 @@ http://localhost:3000/solr/statistics/update?stream.body=%3Ccommit/%3E Then I reduced the JVM heap size from 6144 back to 5120m Also, I switched it to use OpenJDK instead of Oracle Java, as well as re-worked the Ansible infrastructure scripts to support hosts choosing which distribution they want to use "/> - + diff --git a/docs/2018-06/index.html b/docs/2018-06/index.html index 210b7caed..4cd7223ce 100644 --- a/docs/2018-06/index.html +++ b/docs/2018-06/index.html @@ -58,7 +58,7 @@ real 74m42.646s user 8m5.056s sys 2m7.289s "/> - + diff --git a/docs/2018-07/index.html b/docs/2018-07/index.html index f6b377e87..4ee4dc5af 100644 --- a/docs/2018-07/index.html +++ b/docs/2018-07/index.html @@ -36,7 +36,7 @@ During the mvn package stage on the 5.8 branch I kept getting issues with java r There is insufficient memory for the Java Runtime Environment to continue. "/> - + diff --git a/docs/2018-08/index.html b/docs/2018-08/index.html index 666503d91..cb186419f 100644 --- a/docs/2018-08/index.html +++ b/docs/2018-08/index.html @@ -46,7 +46,7 @@ Anyways, perhaps I should increase the JVM heap from 5120m to 6144m like we did The server only has 8GB of RAM so we’ll eventually need to upgrade to a larger one because we’ll start starving the OS, PostgreSQL, and command line batch processes I ran all system updates on DSpace Test and rebooted it "/> - + diff --git a/docs/2018-09/index.html b/docs/2018-09/index.html index 607c592f0..dc87dfe57 100644 --- a/docs/2018-09/index.html +++ b/docs/2018-09/index.html @@ -30,7 +30,7 @@ I’ll update the DSpace role in our Ansible infrastructure playbooks and ru Also, I’ll re-run the postgresql tasks because the custom PostgreSQL variables are dynamic according to the system’s RAM, and we never re-ran them after migrating to larger Linodes last month I’m testing the new DSpace 5.8 branch in my Ubuntu 18.04 environment and I’m getting those autowire errors in Tomcat 8.5.30 again: "/> - + diff --git a/docs/2018-10/index.html b/docs/2018-10/index.html index f61039a3f..b27b061ad 100644 --- a/docs/2018-10/index.html +++ b/docs/2018-10/index.html @@ -26,7 +26,7 @@ I created a GitHub issue to track this #389, because I’m super busy in Nai Phil Thornton got an ORCID identifier so we need to add it to the list on CGSpace and tag his existing items I created a GitHub issue to track this #389, because I’m super busy in Nairobi right now "/> - + diff --git a/docs/2018-11/index.html b/docs/2018-11/index.html index 2bf89f4bf..2c037f491 100644 --- a/docs/2018-11/index.html +++ b/docs/2018-11/index.html @@ -36,7 +36,7 @@ Send a note about my dspace-statistics-api to the dspace-tech mailing list Linode has been sending mails a few times a day recently that CGSpace (linode18) has had high CPU usage Today these are the top 10 IPs: "/> - + diff --git a/docs/2018-12/index.html b/docs/2018-12/index.html index f9edd2aaf..1949f2c6f 100644 --- a/docs/2018-12/index.html +++ b/docs/2018-12/index.html @@ -36,7 +36,7 @@ Then I ran all system updates and restarted the server I noticed that there is another issue with PDF thumbnails on CGSpace, and I see there was another Ghostscript vulnerability last week "/> - + diff --git a/docs/2019-01/index.html b/docs/2019-01/index.html index b33fc609a..178d9d40a 100644 --- a/docs/2019-01/index.html +++ b/docs/2019-01/index.html @@ -50,7 +50,7 @@ I don’t see anything interesting in the web server logs around that time t 357 207.46.13.1 903 54.70.40.11 "/> - + diff --git a/docs/2019-02/index.html b/docs/2019-02/index.html index 0d289ee79..c01a717ff 100644 --- a/docs/2019-02/index.html +++ b/docs/2019-02/index.html @@ -72,7 +72,7 @@ real 0m19.873s user 0m22.203s sys 0m1.979s "/> - + diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index 30dad6bd5..4bff34551 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -46,7 +46,7 @@ Most worryingly, there are encoding errors in the abstracts for eleven items, fo I think I will need to ask Udana to re-copy and paste the abstracts with more care using Google Docs "/> - + diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index 709ccb741..b8ca8e894 100644 --- a/docs/2019-04/index.html +++ b/docs/2019-04/index.html @@ -64,7 +64,7 @@ $ ./fix-metadata-values.py -i /tmp/2019-02-21-fix-4-regions.csv -db dspace -u ds $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-2-countries.csv -db dspace -u dspace -p 'fuuu' -m 228 -f cg.coverage.country -d $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace -u dspace -p 'fuuu' -m 231 -f cg.coverage.region -d "/> - + diff --git a/docs/2019-05/index.html b/docs/2019-05/index.html index 45fd57bd1..207599903 100644 --- a/docs/2019-05/index.html +++ b/docs/2019-05/index.html @@ -48,7 +48,7 @@ DELETE 1 But after this I tried to delete the item from the XMLUI and it is still present… "/> - + diff --git a/docs/2019-06/index.html b/docs/2019-06/index.html index d1324b319..46e2a100b 100644 --- a/docs/2019-06/index.html +++ b/docs/2019-06/index.html @@ -34,7 +34,7 @@ Run system updates on CGSpace (linode18) and reboot it Skype with Marie-Angélique and Abenet about CG Core v2 "/> - + diff --git a/docs/2019-07/index.html b/docs/2019-07/index.html index 42859dc10..d419f3466 100644 --- a/docs/2019-07/index.html +++ b/docs/2019-07/index.html @@ -38,7 +38,7 @@ CGSpace Abenet had another similar issue a few days ago when trying to find the stats for 2018 in the RTB community "/> - + diff --git a/docs/2019-08/index.html b/docs/2019-08/index.html index 0958e3f1a..ed7207bdc 100644 --- a/docs/2019-08/index.html +++ b/docs/2019-08/index.html @@ -46,7 +46,7 @@ After rebooting, all statistics cores were loaded… wow, that’s luck Run system updates on DSpace Test (linode19) and reboot it "/> - + diff --git a/docs/2019-09/index.html b/docs/2019-09/index.html index f42f4eee8..58dd91f0c 100644 --- a/docs/2019-09/index.html +++ b/docs/2019-09/index.html @@ -72,7 +72,7 @@ Here are the top ten IPs in the nginx XMLUI and REST/OAI logs this morning: 7249 2a01:7e00::f03c:91ff:fe18:7396 9124 45.5.186.2 "/> - + diff --git a/docs/2019-10/index.html b/docs/2019-10/index.html index 4ae186e21..066f97fdc 100644 --- a/docs/2019-10/index.html +++ b/docs/2019-10/index.html @@ -18,7 +18,7 @@ - + diff --git a/docs/2019-11/index.html b/docs/2019-11/index.html index 2d41d6514..8abfb8757 100644 --- a/docs/2019-11/index.html +++ b/docs/2019-11/index.html @@ -58,7 +58,7 @@ Let’s see how many of the REST API requests were for bitstreams (because t # zcat --force /var/log/nginx/rest.log.*.gz | grep -E "[0-9]{1,2}/Oct/2019" | grep -c -E "/rest/bitstreams" 106781 "/> - + diff --git a/docs/2019-12/index.html b/docs/2019-12/index.html index e1d7d9b07..09e9b9fc1 100644 --- a/docs/2019-12/index.html +++ b/docs/2019-12/index.html @@ -46,7 +46,7 @@ Make sure all packages are up to date and the package manager is up to date, the # dpkg -C # reboot "/> - + diff --git a/docs/2020-01/index.html b/docs/2020-01/index.html index 92da8423d..284dff257 100644 --- a/docs/2020-01/index.html +++ b/docs/2020-01/index.html @@ -56,7 +56,7 @@ I tweeted the CGSpace repository link "/> - + diff --git a/docs/2020-02/index.html b/docs/2020-02/index.html index 3c3be5a23..7ad8b5680 100644 --- a/docs/2020-02/index.html +++ b/docs/2020-02/index.html @@ -38,7 +38,7 @@ The code finally builds and runs with a fresh install "/> - + diff --git a/docs/2020-03/index.html b/docs/2020-03/index.html index e705cc840..4f26d4912 100644 --- a/docs/2020-03/index.html +++ b/docs/2020-03/index.html @@ -42,7 +42,7 @@ You need to download this into the DSpace 6.x source and compile it "/> - + diff --git a/docs/2020-04/index.html b/docs/2020-04/index.html index 89b4c9dd5..cf09d16f0 100644 --- a/docs/2020-04/index.html +++ b/docs/2020-04/index.html @@ -48,7 +48,7 @@ The third item now has a donut with score 1 since I tweeted it last week On the same note, the one item Abenet pointed out last week now has a donut with score of 104 after I tweeted it last week "/> - + diff --git a/docs/2020-05/index.html b/docs/2020-05/index.html index 72b02112b..3809206c8 100644 --- a/docs/2020-05/index.html +++ b/docs/2020-05/index.html @@ -34,7 +34,7 @@ I see that CGSpace (linode18) is still using PostgreSQL JDBC driver version 42.2 "/> - + diff --git a/docs/2020-06/index.html b/docs/2020-06/index.html index 5384ba863..a0d32fa79 100644 --- a/docs/2020-06/index.html +++ b/docs/2020-06/index.html @@ -36,7 +36,7 @@ I sent Atmire the dspace.log from today and told them to log into the server to In other news, I checked the statistics API on DSpace 6 and it’s working I tried to build the OAI registry on the freshly migrated DSpace 6 on DSpace Test and I get an error: "/> - + diff --git a/docs/2020-07/index.html b/docs/2020-07/index.html index ac5b8dfea..8e0aef354 100644 --- a/docs/2020-07/index.html +++ b/docs/2020-07/index.html @@ -38,7 +38,7 @@ I restarted Tomcat and PostgreSQL and the issue was gone Since I was restarting Tomcat anyways I decided to redeploy the latest changes from the 5_x-prod branch and I added a note about COVID-19 items to the CGSpace frontpage at Peter’s request "/> - + diff --git a/docs/2020-08/index.html b/docs/2020-08/index.html index 73b29a3c5..33a4d1418 100644 --- a/docs/2020-08/index.html +++ b/docs/2020-08/index.html @@ -36,7 +36,7 @@ It is class based so I can easily add support for other vocabularies, and the te "/> - + diff --git a/docs/2020-09/index.html b/docs/2020-09/index.html index d7628b585..cf1892f28 100644 --- a/docs/2020-09/index.html +++ b/docs/2020-09/index.html @@ -48,7 +48,7 @@ I filed a bug on OpenRXV: https://github.com/ilri/OpenRXV/issues/39 I filed an issue on OpenRXV to make some minor edits to the admin UI: https://github.com/ilri/OpenRXV/issues/40 "/> - + diff --git a/docs/2020-10/index.html b/docs/2020-10/index.html index 23de0d828..61f3e13ea 100644 --- a/docs/2020-10/index.html +++ b/docs/2020-10/index.html @@ -44,7 +44,7 @@ During the FlywayDB migration I got an error: "/> - + diff --git a/docs/2020-11/index.html b/docs/2020-11/index.html index 4b4716618..87ad36436 100644 --- a/docs/2020-11/index.html +++ b/docs/2020-11/index.html @@ -32,7 +32,7 @@ So far we’ve spent at least fifty hours to process the statistics and stat "/> - + diff --git a/docs/2020-12/index.html b/docs/2020-12/index.html index 511231286..9192993ce 100644 --- a/docs/2020-12/index.html +++ b/docs/2020-12/index.html @@ -36,7 +36,7 @@ I started processing those (about 411,000 records): "/> - + diff --git a/docs/2021-01/index.html b/docs/2021-01/index.html index fd5997a90..95ed063f2 100644 --- a/docs/2021-01/index.html +++ b/docs/2021-01/index.html @@ -50,7 +50,7 @@ For example, this item has 51 views on CGSpace, but 0 on AReS "/> - + diff --git a/docs/2021-02/index.html b/docs/2021-02/index.html index 05e88590e..57caa5fc3 100644 --- a/docs/2021-02/index.html +++ b/docs/2021-02/index.html @@ -60,7 +60,7 @@ $ curl -s 'http://localhost:9200/openrxv-items-temp/_count?q=*&pretty } } "/> - + diff --git a/docs/2021-03/index.html b/docs/2021-03/index.html index a8e815443..5453431eb 100644 --- a/docs/2021-03/index.html +++ b/docs/2021-03/index.html @@ -34,7 +34,7 @@ Also, we found some issues building and running OpenRXV currently due to ecosyst "/> - + diff --git a/docs/2021-04/index.html b/docs/2021-04/index.html index e3600b5ee..0308abf69 100644 --- a/docs/2021-04/index.html +++ b/docs/2021-04/index.html @@ -44,7 +44,7 @@ Perhaps one of the containers crashed, I should have looked closer but I was in "/> - + diff --git a/docs/2021-05/index.html b/docs/2021-05/index.html index 8592a64cf..087197cd3 100644 --- a/docs/2021-05/index.html +++ b/docs/2021-05/index.html @@ -36,7 +36,7 @@ I looked at the top user agents and IPs in the Solr statistics for last month an I will add the RI/1.0 pattern to our DSpace agents overload and purge them from Solr (we had previously seen this agent with 9,000 hits or so in 2020-09), but I think I will leave the Microsoft Word one… as that’s an actual user… "/> - + diff --git a/docs/2021-06/index.html b/docs/2021-06/index.html index 38c9a9fc1..13fd92027 100644 --- a/docs/2021-06/index.html +++ b/docs/2021-06/index.html @@ -36,7 +36,7 @@ I simply started it and AReS was running again: "/> - + diff --git a/docs/2021-07/index.html b/docs/2021-07/index.html index 594fb129d..dfdd52fd3 100644 --- a/docs/2021-07/index.html +++ b/docs/2021-07/index.html @@ -30,7 +30,7 @@ Export another list of ALL subjects on CGSpace, including AGROVOC and non-AGROVO localhost/dspace63= > \COPY (SELECT DISTINCT LOWER(text_value) AS subject, count(*) FROM metadatavalue WHERE dspace_object_id in (SELECT dspace_object_id FROM item) AND metadata_field_id IN (119, 120, 127, 122, 128, 125, 135, 203, 208, 210, 215, 123, 236, 242, 187) GROUP BY subject ORDER BY count DESC) to /tmp/2021-07-01-all-subjects.csv WITH CSV HEADER; COPY 20994 "/> - + diff --git a/docs/2021-08/index.html b/docs/2021-08/index.html index 674946bc3..3694a3f29 100644 --- a/docs/2021-08/index.html +++ b/docs/2021-08/index.html @@ -32,7 +32,7 @@ Update Docker images on AReS server (linode20) and reboot the server: I decided to upgrade linode20 from Ubuntu 18.04 to 20.04 "/> - + diff --git a/docs/2021-09/index.html b/docs/2021-09/index.html index 5cce49793..4dc775f0d 100644 --- a/docs/2021-09/index.html +++ b/docs/2021-09/index.html @@ -48,7 +48,7 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu "/> - + diff --git a/docs/2021-10/index.html b/docs/2021-10/index.html index 06c5f1fa2..840ff1751 100644 --- a/docs/2021-10/index.html +++ b/docs/2021-10/index.html @@ -46,7 +46,7 @@ $ wc -l /tmp/2021-10-01-affiliations.txt So we have 1879/7100 (26.46%) matching already "/> - + diff --git a/docs/2021-11/index.html b/docs/2021-11/index.html index f719dce85..4bd17ee5d 100644 --- a/docs/2021-11/index.html +++ b/docs/2021-11/index.html @@ -32,7 +32,7 @@ First I exported all the 2019 stats from CGSpace: $ ./run.sh -s http://localhost:8081/solr/statistics -f 'time:2019-*' -a export -o statistics-2019.json -k uid $ zstd statistics-2019.json "/> - + diff --git a/docs/2021-12/index.html b/docs/2021-12/index.html index 144e54bd9..c4aef2301 100644 --- a/docs/2021-12/index.html +++ b/docs/2021-12/index.html @@ -40,7 +40,7 @@ Purging 455 hits from WhatsApp in statistics Total number of bot hits purged: 3679 "/> - + diff --git a/docs/2022-01/index.html b/docs/2022-01/index.html index 3550dd491..b129664b7 100644 --- a/docs/2022-01/index.html +++ b/docs/2022-01/index.html @@ -24,7 +24,7 @@ Start a full harvest on AReS Start a full harvest on AReS "/> - + diff --git a/docs/2022-02/index.html b/docs/2022-02/index.html index c03b989b8..e2500db47 100644 --- a/docs/2022-02/index.html +++ b/docs/2022-02/index.html @@ -38,7 +38,7 @@ We agreed to try to do more alignment of affiliations/funders with ROR "/> - + diff --git a/docs/2022-03/index.html b/docs/2022-03/index.html index 5a3ce23c6..cba5c9f12 100644 --- a/docs/2022-03/index.html +++ b/docs/2022-03/index.html @@ -34,7 +34,7 @@ $ ./ilri/check-duplicates.py -i /tmp/tac4.csv -db dspace -u dspace -p 'fuuu& $ csvcut -c id,filename ~/Downloads/2022-03-01-CGSpace-TAC-ICW-batch4-701-980.csv > /tmp/tac4-filenames.csv $ csvjoin -c id /tmp/2022-03-01-tac-batch4-701-980.csv /tmp/tac4-filenames.csv > /tmp/2022-03-01-tac-batch4-701-980-filenames.csv "/> - + diff --git a/docs/2022-04/index.html b/docs/2022-04/index.html index b2e1ce6ba..505cd8019 100644 --- a/docs/2022-04/index.html +++ b/docs/2022-04/index.html @@ -18,7 +18,7 @@ - + diff --git a/docs/2022-05/index.html b/docs/2022-05/index.html index 80d5af0d0..efd95432c 100644 --- a/docs/2022-05/index.html +++ b/docs/2022-05/index.html @@ -66,7 +66,7 @@ If I query Solr for time:2022-04* AND dns:*msnbot* AND dns:*.msn.com. I see a ha I purged 93,974 hits from these IPs using my check-spider-ip-hits.sh script "/> - + diff --git a/docs/2022-06/index.html b/docs/2022-06/index.html index 3e40f8f2d..68176042b 100644 --- a/docs/2022-06/index.html +++ b/docs/2022-06/index.html @@ -48,7 +48,7 @@ There seem to be many more of these: "/> - + diff --git a/docs/2022-07/index.html b/docs/2022-07/index.html index a6c0f9f3d..3191a574c 100644 --- a/docs/2022-07/index.html +++ b/docs/2022-07/index.html @@ -34,7 +34,7 @@ Also, the trgm functions I’ve used before are case insensitive, but Levens "/> - + diff --git a/docs/2022-08/index.html b/docs/2022-08/index.html index dbfa87790..1e62de90b 100644 --- a/docs/2022-08/index.html +++ b/docs/2022-08/index.html @@ -24,7 +24,7 @@ Our request to add CC-BY-3.0-IGO to SPDX was approved a few weeks ago Our request to add CC-BY-3.0-IGO to SPDX was approved a few weeks ago "/> - + diff --git a/docs/2022-09/index.html b/docs/2022-09/index.html index a0514cba4..536d753f0 100644 --- a/docs/2022-09/index.html +++ b/docs/2022-09/index.html @@ -46,7 +46,7 @@ I also fixed a few bugs and improved the region-matching logic "/> - + diff --git a/docs/2022-10/index.html b/docs/2022-10/index.html index 6d5692167..cb1410f6b 100644 --- a/docs/2022-10/index.html +++ b/docs/2022-10/index.html @@ -36,7 +36,7 @@ I filed an issue to ask about Java 11+ support "/> - + diff --git a/docs/2022-11/index.html b/docs/2022-11/index.html index f3703f3c0..c1b1f6f1b 100644 --- a/docs/2022-11/index.html +++ b/docs/2022-11/index.html @@ -44,7 +44,7 @@ I want to make sure they use groups instead of individuals where possible! I reverted the Cocoon autosave change because it was more of a nuissance that Peter can’t upload CSVs from the web interface and is a very low severity security issue "/> - + diff --git a/docs/2022-12/index.html b/docs/2022-12/index.html index 147a8f76a..9673b5e72 100644 --- a/docs/2022-12/index.html +++ b/docs/2022-12/index.html @@ -36,7 +36,7 @@ I exported the CCAFS and IITA communities, extracted just the country and region Add a few more authors to my CSV with author names and ORCID identifiers and tag 283 items! Replace “East Asia” with “Eastern Asia” region on CGSpace (UN M.49 region) "/> - + diff --git a/docs/2023-01/index.html b/docs/2023-01/index.html index 171eed30e..621eaa4b7 100644 --- a/docs/2023-01/index.html +++ b/docs/2023-01/index.html @@ -34,7 +34,7 @@ I see we have some new ones that aren’t in our list if I combine with this "/> - + diff --git a/docs/2023-02/index.html b/docs/2023-02/index.html index 008ab5830..31bb5df15 100644 --- a/docs/2023-02/index.html +++ b/docs/2023-02/index.html @@ -32,7 +32,7 @@ I want to try to expand my use of their data to journals, publishers, volumes, i "/> - + diff --git a/docs/2023-03/index.html b/docs/2023-03/index.html index 4deb48ea5..8fe51d027 100644 --- a/docs/2023-03/index.html +++ b/docs/2023-03/index.html @@ -28,7 +28,7 @@ Remove cg.subject.wle and cg.identifier.wletheme from CGSpace input form after c iso-codes 4.13.0 was released, which incorporates my changes to the common names for Iran, Laos, and Syria I finally got through with porting the input form from DSpace 6 to DSpace 7 "/> - + diff --git a/docs/2023-04/index.html b/docs/2023-04/index.html index 979a5d702..ccc069f90 100644 --- a/docs/2023-04/index.html +++ b/docs/2023-04/index.html @@ -36,7 +36,7 @@ I also did a check for missing country/region mappings with csv-metadata-quality Start a harvest on AReS "/> - + diff --git a/docs/2023-05/index.html b/docs/2023-05/index.html index c35a980d4..ba453abc2 100644 --- a/docs/2023-05/index.html +++ b/docs/2023-05/index.html @@ -46,7 +46,7 @@ Also I found at least two spelling mistakes, for example “decison support Work on cleaning, proofing, and uploading twenty-seven records for IFPRI to CGSpace "/> - + diff --git a/docs/2023-06/index.html b/docs/2023-06/index.html index 47deea61c..0a9b1f596 100644 --- a/docs/2023-06/index.html +++ b/docs/2023-06/index.html @@ -44,7 +44,7 @@ From what I can see we need to upgrade the MODS schema from 3.1 to 3.7 and then "/> - + diff --git a/docs/2023-07/index.html b/docs/2023-07/index.html index 6425ac4d3..55f2e710e 100644 --- a/docs/2023-07/index.html +++ b/docs/2023-07/index.html @@ -18,7 +18,7 @@ - + diff --git a/docs/2023-08/index.html b/docs/2023-08/index.html index 561532462..1dac9fbf1 100644 --- a/docs/2023-08/index.html +++ b/docs/2023-08/index.html @@ -19,7 +19,7 @@ Start working on some batch uploads for IFPRI - + @@ -34,7 +34,7 @@ I did some minor cleanups myself and applied them to CGSpace Start working on some batch uploads for IFPRI "/> - + @@ -46,7 +46,7 @@ Start working on some batch uploads for IFPRI "url": "https://alanorth.github.io/cgspace-notes/2023-08/", "wordCount": "1921", "datePublished": "2023-08-03T11:18:36+03:00", - "dateModified": "2023-09-01T08:10:02+03:00", + "dateModified": "2024-05-16T08:27:56+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -402,7 +402,7 @@ UPDATE 1
https://dspace7test.ilri.org/server/api/discover/search/objects?query=dc.date.accessioned_dt%3A%5B2023-08-01T00%3A00%3A00Z%20TO%20%2A%5D'
+https://dspace7test.ilri.org/server/api/discover/search/objects?query=dc.date.accessioned_dt%3A%5B2023-08-01T00%3A00%3A00Z%20TO%20%2A%5D
- That is this query:
dc.date.accessioned_dt:[2023-08-01T00:00:00Z TO *]
diff --git a/docs/2023-09/index.html b/docs/2023-09/index.html
index 61f0a6a50..878de87ef 100644
--- a/docs/2023-09/index.html
+++ b/docs/2023-09/index.html
@@ -26,7 +26,7 @@ Start a harvest on AReS
Export CGSpace to check for missing Initiative collection mappings
Start a harvest on AReS
"/>
-
+
diff --git a/docs/2023-10/index.html b/docs/2023-10/index.html
index bb4642f41..d17dac175 100644
--- a/docs/2023-10/index.html
+++ b/docs/2023-10/index.html
@@ -36,7 +36,7 @@ We can be on the safe side by using only abstracts for items that are licensed u
"/>
-
+
diff --git a/docs/2023-11/index.html b/docs/2023-11/index.html
index 8d9fbd1f7..d78c83b38 100644
--- a/docs/2023-11/index.html
+++ b/docs/2023-11/index.html
@@ -42,7 +42,7 @@ I improved the filtering and wrote some Python using pandas to merge my sources
Export CGSpace to check missing Initiative collection mappings
Start a harvest on AReS
"/>
-
+
diff --git a/docs/2023-12/index.html b/docs/2023-12/index.html
index 9bf83c7a8..b1f308071 100644
--- a/docs/2023-12/index.html
+++ b/docs/2023-12/index.html
@@ -18,7 +18,7 @@
-
+
diff --git a/docs/2024-01/index.html b/docs/2024-01/index.html
index 32833938b..8e36e1f3e 100644
--- a/docs/2024-01/index.html
+++ b/docs/2024-01/index.html
@@ -40,7 +40,7 @@ I sent the bundle to the Handle admins to make sure it’s OK before we do t
Continue testing and debugging the cgspace-java-helpers on DSpace 7
Work on IFPRI ISNAR archive cleanup
"/>
-
+
diff --git a/docs/2024-02/index.html b/docs/2024-02/index.html
index 935a92f4c..04e423eb5 100644
--- a/docs/2024-02/index.html
+++ b/docs/2024-02/index.html
@@ -26,7 +26,7 @@ Lower case all the AGROVOC subjects on CGSpace
Delete duplicate metadata as described in my DSpace issue from last year: https://github.com/DSpace/DSpace/issues/8253
Lower case all the AGROVOC subjects on CGSpace
"/>
-
+
diff --git a/docs/2024-03/index.html b/docs/2024-03/index.html
index 9520fe2ea..864f376ab 100644
--- a/docs/2024-03/index.html
+++ b/docs/2024-03/index.html
@@ -34,7 +34,7 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808
"/>
-
+
diff --git a/docs/2024-04/index.html b/docs/2024-04/index.html
index ffc9714af..1a8e23a56 100644
--- a/docs/2024-04/index.html
+++ b/docs/2024-04/index.html
@@ -24,7 +24,7 @@ Work on CGSpace duplicate DOIs more
Work on CGSpace duplicate DOIs more
"/>
-
+
diff --git a/docs/2024-05/index.html b/docs/2024-05/index.html
index ae89aae97..53b6f3263 100644
--- a/docs/2024-05/index.html
+++ b/docs/2024-05/index.html
@@ -18,7 +18,7 @@ Then I did some work to add missing abstracts (about 900!), volumes, issues, lic
-
+
@@ -32,7 +32,7 @@ Then I did some work to add missing abstracts (about 900!), volumes, issues, lic
"/>
-
+
@@ -42,9 +42,9 @@ Then I did some work to add missing abstracts (about 900!), volumes, issues, lic
"@type": "BlogPosting",
"headline": "May, 2024",
"url": "https://alanorth.github.io/cgspace-notes/2024-05/",
- "wordCount": "438",
+ "wordCount": "652",
"datePublished": "2024-05-01T10:39:00+03:00",
- "dateModified": "2024-05-13T08:21:17+03:00",
+ "dateModified": "2024-05-13T16:24:11+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@@ -201,7 +201,30 @@ dspace=# \COPY (SELECT i.uuid, m.text_value AS submitted_by FROM item i JOIN met
https://dspace7test.ilri.org/server/api/pid/find?id=10568/118424
-
+
Helping IFPRI with some DSpace 7 API support, these are two queries for items issued in 2024:
+:[2024-01-01T00:00:00Z TO *]
Both of them return the same number of results and seem identitical as far as I can see, but the second one uses Solr date indexes and requires the full Lucene datetime and range syntax
+I wrote a new version of the check_duplicates.py
script to help identify duplicates with different types
check_duplicates_fast.py
but it’s actually not fasterContinue working through alternative duplicate matching for IFPRI
+