Add notes for 2020-12-29 and 2020-12-30

This commit is contained in:
2020-12-30 09:44:45 +02:00
parent 1b1db105ad
commit e61f447f72
23 changed files with 96 additions and 29 deletions

View File

@ -668,4 +668,39 @@ $ curl -s "http://localhost:8081/solr/statistics-2012/update?softCommit=true" -H
- I decided to do the same for the remaining 2011, 2014, 2017, and 2019 cores...
## 2020-12-29
- Start a fresh re-index on AReS, since it's been over a week since the last time
- Before then I cleared the old `openrxv-items-temp` index and made a backup of the current `openrxv-items` index:
```console
$ curl -s 'http://localhost:9200/openrxv-items/_count?q=*&pretty'
{
"count" : 100135,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
}
}
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp?pretty'
$ curl -X PUT "localhost:9200/openrxv-items/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
$ curl -s -X POST http://localhost:9200/openrxv-items/_clone/openrxv-items-2020-12-29
$ curl -X PUT "localhost:9200/openrxv-items/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": false}}'
```
## 2020-12-30
- The indexing on AReS finished so I cloned the `openrxv-items-temp` index to `openrxv-items` and deleted the backup index:
```console
$ curl -XDELETE 'http://localhost:9200/openrxv-items?pretty'
$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": true}}'
$ curl -s -X POST http://localhost:9200/openrxv-items-temp/_clone/openrxv-items
$ curl -X PUT "localhost:9200/openrxv-items-temp/_settings?pretty" -H 'Content-Type: application/json' -d'{"settings": {"index.blocks.write": false}}'
$ curl -XDELETE 'http://localhost:9200/openrxv-items-temp?pretty'
$ curl -XDELETE 'http://localhost:9200/openrxv-items-2020-12-29?pretty'
```
<!-- vim: set sw=2 ts=2: -->