https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36433
--- Comment #9 from Kyle M Hall (khall) <k...@bywatersolutions.com> --- Created attachment 176750 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176750&action=edit Bug 36433: Plugin hook elasticsearch_to_document Add a new hook elasticsearch_to_document in order to allow completing the 'document' to be sent to Elasticsearch. Usage example: (1) add new search fields, (2) normalize/sanitize existing fields, (3) use id fields to retrieve info via web services in other repositories (say VIAF), (4) download file referenced in a field, and index its content. To test: 1. Apply the unit tests patch, and run it: prove t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t => FAIL: Tests fail! The hook is not implemented so the desired 2. Apply this patch, and then repeat 1: => SUCCESS: It works! Signed-off-by: Shi Yao Wang <shi-yao.w...@inlibro.com> Signed-off-by: Kyle M Hall <k...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/