Bug 18130 - ES - Cannot reindex given biblionumbers
Summary: ES - Cannot reindex given biblionumbers
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low major (vote)
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 12478
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-16 10:22 UTC by Jonathan Druart
Modified: 2019-06-27 09:24 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 18130: ES - Fix --biblionumbers for rebuild elastic indexes (4.36 KB, patch)
2017-02-16 10:24 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2017-02-16 10:22:26 UTC
rebuild_elastic_search.pl provides a --biblionumber/-bn option to reindex only given biblionumbers.
However it does not work and the script explodes with
  Can't locate object method "id" via package "MARC::Record"
Comment 1 Jonathan Druart 2017-02-16 10:24:26 UTC
Created attachment 60309 [details] [review]
Bug 18130: ES - Fix --biblionumbers for rebuild elastic indexes

rebuild_elastic_search.pl provides a --biblionumber/-bn option to
reindex only given biblionumbers.
However it does not work and the script explodes with
  Can't locate object method "id" via package "MARC::Record"

Test plan:
Full reindex and reindex only given biblionumbers should work:
  perl misc/search_tools/rebuild_elastic_search.pl -a -b -v
  perl misc/search_tools/rebuild_elastic_search.pl -b -v
  perl misc/search_tools/rebuild_elastic_search.pl -b -bn 42 -v