So potentially there’s a full text search case (?) for doing this but I’d always just default to adding documents like this to elastic search instead. I just cannot see a good use case for this and lots of bad ones.
Not every object in a database needs to be ready for public consumption. Some of it's there for processing, for certain use cases.
In the second pass I made `pdf` a type.