Created attachment 3099 [details] [review] Adds the record fixing subroutines from rebuild_zebra.pl in zebraqueue_daemon.pl When using zebraqueue to watch our MARC records, we sometimes encountered results showing "No Title". Those records had no biblionumber because they were not returned correctly by Zebra. We also noticed that the problem was only noticeable after a record was modified, which caused it to be reindexed by zebraqueue. I noticed that zebraqueue wasn't using the fix_leader, fix_biblio_ids, fix_authority_id and fix_unimarc_100 subroutines that can be found in rebuild_zebra.pl . I added and used these subroutines in zebraqueue_daemon.pl so zebraqueue would do the same modifications that rebuild_zebra.pl did on the records sent to Zebra. This change seems to have fixed the problem in my Koha instances, the "No Title" records are now shown correctly in the search results. A patch containing my modifications is attached.
> zebraqueue_daemon.pl Isn't zebraqueue_daemon.pl deprecated in favour of rebuild_zebra.pl?
(In reply to comment #1) > > zebraqueue_daemon.pl > > Isn't zebraqueue_daemon.pl deprecated in favour of rebuild_zebra.pl? It seems to be deprecated because of memory leak problems. I also stopped using it and use rebuild_zebra.pl on my Koha instances right now. I left this patch here in case it may help peoples who would still want to use zebraqueue_daemon.pl