I see this as 2 part, will need OCR for documents that need it.
For searching, I'd suggest two options, the easier one but less featured to my knowledge is using postgres full text search and the other that would likely be against the philosophy of keeping it simple is OpenSearch
I see this as 2 part, will need OCR for documents that need it.For searching, I'd suggest two options, the easier one but less featured to my knowledge is using postgres full text search and the other that would likely be against the philosophy of keeping it simple is OpenSearch