mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes
This commit is contained in:
@ -220,5 +220,32 @@ $ dspace dsrun org.dspace.eperson.Groomer -a -b 08/23/2017 -d
|
||||
- After communicating with PRMS and other teams working on systems using this metadata I finally updated them in CGSpace
|
||||
- Export CGSpace to check for missing Initiative collection mappings
|
||||
- Start a harvest on AReS
|
||||
- I fixed ~200 titles with new lines, excessive whitespace, and Unicode FFFD characters
|
||||
- There are many more with 00A0, 200B, etc, but those need more careful inspection
|
||||
|
||||
## 2023-08-28
|
||||
|
||||
- Day one of CGSpace partners meeting in Addis
|
||||
- Oh this is a game changer, I just realized that we can use Solr query syntax in the DSpace 7 REST API, so we can do this for example:
|
||||
|
||||
```
|
||||
https://dspace7test.ilri.org/server/api/discover/search/objects?query=lastModified%3A%5B2023-08-01T00%3A00%3A00Z%20TO%20%2A%5D
|
||||
```
|
||||
|
||||
- Which is this query: `lastModified:[2023-08-01T00:00:00Z TO *]`
|
||||
- The queries need to be URL encoded of course
|
||||
- Oh nice, and we can do the same for accession date:
|
||||
|
||||
```
|
||||
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 *]`
|
||||
- We need to use the dt version of the accession date because that is the one that has a date type
|
||||
- This query give 290 results, which should be the items submitted in August!
|
||||
|
||||
## 2023-08-29
|
||||
|
||||
- Day two of CGSpace partners meeting in Addis
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user