| Summary: | Add support for ES rebuild to koha-sandbox cron | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
| Component: | contribs.koha-community.org | Assignee: | Bugs List <koha-bugs> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | jonathan.druart |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
|
Description
Nick Clemens (kidclamp)
2017-10-11 13:00:39 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 }
I believe this was about being able to reindex Elasticsearch in a sandbox - and we can do that now. |