Bug 19445

Summary: Add support for ES rebuild to koha-sandbox cron
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: contribs.koha-community.orgAssignee: Bugs List <koha-bugs>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Nick Clemens (kidclamp) 2017-10-11 13:00:39 UTC

    
Comment 1 Nick Clemens (kidclamp) 2017-10-11 13:01:52 UTC
Added below on the BWS sandboxes, probably need to add a test for if ES enabled?

202     eval {
203         Run->new( qq|perl $koha_src_path/misc/search_tools/rebuild_elastic_search.pl -d| );
204     };
205     if ( $@ ) {
206         push @errors, "Cannot rebuild elastic: " . $@;
207     }
Comment 2 Katrin Fischer 2023-09-30 20:39:45 UTC
I believe this was about being able to reindex Elasticsearch in a sandbox - and we can do that now.