]> git.koha-community.org Git - koha.git/commit
Bug 23137: Add reset option to rebuild_elasticsearch.pl
authorNick Clemens <nick@bywatersolutions.com>
Thu, 19 Mar 2020 16:30:29 +0000 (16:30 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 8 May 2020 22:34:58 +0000 (22:34 +0000)
commit7aa114f11e4d194d3db5dcf765974a56a3d5c84b
tree6e73c045368f6b1c59218b7f1ebcb165f7c6fe4a
parentb5add0dd0556f9468708595860c2833d34eeb433
Bug 23137: Add reset option to rebuild_elasticsearch.pl

Setup:
1 - Be using Elasticsearch
2 - Reload mappings from the db
    Admin->Search configuration
    Reset Mappings
3 - Reindex ES and confirm searching is working

To test:
1 - Apply patch
2 - Alter your mappings file for elastic (just change a description for a field)
3 - perl misc/search_tools/rebuild_elasticsearch.pl -r -v
    Verbose not necessary, but good for letting you know things are progressing
4 - Confirm the mapping change shows in the interface
5 - Confirm reindex worked and searching is working

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
misc/search_tools/rebuild_elasticsearch.pl