Searching PDFs in Ruby

Hey!

Bit of an odd one but at work we’ve been asked to put together a database which can filter reports and show only the PDFs in the boundaries.

However today my boss came in and asked if he could have a search box which allowed him to type a keyword and it search the PDFs uploaded…

My immediate response was no. At the very least I could do which isn’t scalable is copy/paste the whole PDF contents into a CSV record which could then be searched and corresponding PDF would be linked to.

But I just thought I’d put the question out there and ask if anyone has had experience or knows of any way that is better than my idea above?

JB