Per PR-1569 in AtoM, the PDF index limit was changed from using a MySQL TEXT field (64K limit) to a MEDIUMTEXT field (16MB limit). However, the documentation still says:
Currently, AtoM 2.x truncates PDF text after the first 65,535 bytes.
Recommended fix
The number should be changed. With a 16MB MEDIUMTEXT field, this should be changed to "approximately 16,777,215 characters" (NOTE - not bytes, as it said previously)
Given the confusion I saw, it might be good to clarify that this is text added to AtoM's search index from the PDF's text layer, and that surpassing the limit does not truncate the PDF being uploaded itself
First reported in the user forum, 2024-02-25: https://groups.google.com/g/ica-atom-users/c/bksYJLY1AIs/m/oOJ-XcLzDgAJ
Affected version
Affected page(s)
Error encountered
Per PR-1569 in AtoM, the PDF index limit was changed from using a MySQL
TEXT
field (64K limit) to aMEDIUMTEXT
field (16MB limit). However, the documentation still says:Recommended fix
MEDIUMTEXT
field, this should be changed to "approximately 16,777,215 characters" (NOTE - not bytes, as it said previously)