Bug 22826: Allow indexing of individual authorities in Elasticsearch
authorNick Clemens <nick@bywatersolutions.com>
Thu, 2 May 2019 10:21:36 +0000 (10:21 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 28 Oct 2019 12:45:28 +0000 (12:45 +0000)
commitfe5c65c5cd1a797324a8c3c28d66e691a6d68b1a
tree11d57c3cb62d0e4c767f03f2d20f956418b5222d
parent5b930c3f9d74a98096571134e3fca14d064d16cb
Bug 22826: Allow indexing of individual authorities in Elasticsearch

To test:
1 - perl misc/search_tools/rebuild_elastic_search.pl -h
2 - Note it indicates the bn option can be passed to index individual authids
3 - perl misc/search_tools/rebuild_elastic_search.pl -a -bn 92 -v
4 - Note the error
5 - Apply patch
6 - perl misc/search_tools/rebuild_elastic_search.pl -h
7 - Note new option ai|authid for indexing individual authids
8 - Note updated text for bn|biblionumber option
9 - perl misc/search_tools/rebuild_elastic_search.pl -a -bn 92 -v
10 - No errors, but no records indexed
11 - perl misc/search_tools/rebuild_elastic_search.pl -a -ai 92 -v
12 - 1 record indexed
13 - perl misc/search_tools/rebuild_elastic_search.pl -ai 92 -bn 92 -v
14 - 1 authority record and 1 biblio record indexed

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/search_tools/rebuild_elasticsearch.pl