https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42835
--- Comment #1 from Pedro Amorim (ammopt) <[email protected]> --- Created attachment 200312 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200312&action=edit Bug 42835: Elasticsearch: Add items index Adds a dedicated 'items' Elasticsearch index where each item is its own flat document keyed by itemnumber, built from Koha::Item data rather than MARC. Adds index_items() and delete_items() to Indexer.pm. Hooks into Item::store() and Item::delete() via _update_es_index() to keep the index in sync on every item change; a skip_items_index flag allows bulk operations to bypass it. Items in their own index can be updated on circulation without re-parsing MARC, keeping availability and facet counts accurate in real time. Adds a noop mock for index_items in the Elasticsearch.t test fixture to prevent store() calls inside marc_records_to_documents tests from trying to index items into ES. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] 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/
