mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2020-12-13
This commit is contained in:
@ -203,4 +203,42 @@ Caused by: org.apache.http.TruncatedChunkException: Truncated chunk ( expected s
|
||||

|
||||

|
||||
|
||||
## 2020-12-13
|
||||
|
||||
- I tried to harvest a few times on OpenRXV in the last few days and every time it appends all the new records to the items index instead of overwriting it:
|
||||
|
||||

|
||||
|
||||
- I can see it in the `openrxv-items-final` index:
|
||||
|
||||
```console
|
||||
$ curl -s 'http://localhost:9200/openrxv-items-final/_count?q=*' | json_pp
|
||||
{
|
||||
"_shards" : {
|
||||
"failed" : 0,
|
||||
"skipped" : 0,
|
||||
"successful" : 1,
|
||||
"total" : 1
|
||||
},
|
||||
"count" : 299922
|
||||
}
|
||||
```
|
||||
|
||||
- I filed a bug on OpenRXV: https://github.com/ilri/OpenRXV/issues/64
|
||||
- For now I will try to delete the index and start a re-harvest in the Admin UI:
|
||||
|
||||
```
|
||||
$ curl -XDELETE http://localhost:9200/openrxv-items-final
|
||||
{"acknowledged":true}%
|
||||
```
|
||||
|
||||
- Moayad said he's working on the harvesting so I stopped it for now to re-deploy his latest changes
|
||||
- I updated Tomcat to version 7.0.107 on CGSpace (linode18), ran all updates, and restarted the server
|
||||
- I deleted both items indexes and restarted the harvesting:
|
||||
|
||||
```
|
||||
$ curl -XDELETE http://localhost:9200/openrxv-items-final
|
||||
$ curl -XDELETE http://localhost:9200/openrxv-items-temp
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user