http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15399 Bug ID: 15399 Summary: MARCXML records larger than 1 MB (1048576 bytes) are not searchable. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: barton@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Created attachment 45852 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45852&action=edit Test file for import. When the length of the marcxml data exported to zebra (i.e. biblioitems.marcxml + cumulative 952 tags) is greater than 1 MB (1048576 bytes), the bib record no longer shows in search results. Tested on Master. Setup: 1/ Add item type 'BOOK' to your test instance. 2/ Add branch 'asdf' to your test instance. 3/ Stage and import the attached marc record (test.marc.utf8). 4/ Run sudo koha-rebuild-zebra --full <instancename> 5/ Search for Theories of human development 6/ Copy the URL of the detail page (it will become unavailable via search). 7/ Click 'New' and select 'New Item' 8/ Set the Koha item type to 'BOOK'. 9/ Click 'Add Multiple Items' and set the number to 2500 10/ Go back to the detail url from step 6. 11/ Click export and select MARCXML Test: 1/ Run sudo koha-rebuild-zebra --full <instancename> 2/ Search for Theories of human development The bib record will not show in the search. 3/ In the linux console, Run the following command on the marcxml file output from Setup step 11/ head -c 1048576 'bib-1.marcxml' [change the name of the marcxml file] 4/ Note the value of 952$9 for the last complete 952 record. 5/ Delete all items in the imported bib with itemnumber greater than the itemnumber in step 4. 6/ Run another MARCXML record. If the size is greater than 1048576 bytes, remove another record. 7/ Run sudo koha-rebuild-zebra --full <instancename> 8/ Search for Theories of human development The bib record *will* show in the search. 9/ Add one more item. 10/ Repeat steps 7/ and 8/, the search will fail. -- You are receiving this mail because: You are watching all bug changes.