Skip to main content
June 30, 2012
Question

Search Query that crawls words in PDFs

  • June 30, 2012
  • 2 replies
  • 570 views

Hello, I'm building a website where people can look at PDFs for a library. It will be exactly like this http://173.12.11.248/

What I'm stuck on is building the search page.  http://173.12.11.248/search.htm

I used the tutorial on Adobe on building a search and results page and I have a database recordset, but how do i enter in MYSQL the PDFs so that they will be searched through.

I tried having the PDF row be a TEXT field with the link to the PDF on the site, but that didn't work.

Any ideas?

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participating Frequently
June 30, 2012

It's not clear to me what you are asking. It sounds as if you have built a page that searches a database, but what you need is to search file contents. The link you provided is using ASP so it's going to be difficult to do a pdf file search with that. If you were using PHP you could use the pdfsearch.php class. But that's going to be extemely slow to search many documents. You're better off using an indexing search engine like zoom :www.wrensoft.com/zoom

June 30, 2012

Ah thanks, I just needed to be pointed in the right direction.  I'll look into the pdfsearch.php and indexing search engine zoom.