I’m working on a web site which has numerous, many pdf documents. What’s the best way to incorporate a investigation motor onto my primary page, and how would I even do it, if I wanted a research motor which could go via all of the pdfs? I know a small bit about php and perl searches. Would it be along the similar lines? Thanks!
What’s the least complicated and/or finest solution to set a search engine onto a site that has many pdfs?
Posted by admin on September 2nd, 2010

Posted in 

The thing to do is probably to edit your robots.txt file so that all your sites pages are crawled and indexed. Then just use PHP to leech off of Google. Just query google like this:
site:example.com {YOUR USERS SEARCH KEY HERE}
Google even offers custom search engines that automate the process! Checkout Google Labs! for details.