https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39076 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #177692|0 |1 is obsolete| | --- Comment #2 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 177695 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177695&action=edit Bug 39076: Use state variable to avoid creating extra ES connections As elsewhere in the code, we should use a state variable for our 'bib_searcher' object to avoid overhead of extra ES connections. Worth noting - we don't actually use the 'bib_searcher' at all during record auto linking as we pass skipmetadata To test: 0 - Apply patch 1 - Enable biblio auto linking AutoLinkBiblios, CatalogModuleRelink, LinkerRelink 2 - Stage and import a marc file 3 - Confirm record authorities link as expected 4 - Search authorities in the staff interface 5 - Confirm usage counts are shown for results Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.