We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Search text inside PDF documents. ASP.NET or PHP

Jorgefa
Jorgefa asked
on
Medium Priority
1,094 Views
Last Modified: 2012-05-06
Dear all,
I would like to build a search engine which be able to search into a folder with PDF files.
I have about 90 PDF files and I will upload 1 new file per month
I can't use Microsoft Indexing Services or Lucence.net as per my hoster limitations

Any other idea?
Comment
Watch Question

Most Valuable Expert 2011
Author of the Year 2014

Commented:
What is the source of the PDF files?  Do you have MySQL handy?

Author

Commented:
Hi raja, thank for he info but for every update file I will need to run zoom in order to generate de indexes.
I am trying to look for a solution just coding and without (if posiible) third party commercial code

Hy Ray,
  the PDF are files that I generate every month, short books
  And yes, I can use MySQL
Cheers
Most Valuable Expert 2011
Author of the Year 2014

Commented:
There are a couple of options.  You can store the searchable elements of the PDF files in the MySQL data base along with a link to the PDF files.  Then you can use FULLTEXT index and MATCH AGAINST to search in MySQL.  You'll find the /path/to the PDF and return that.

Another option may be to use a hosted service such as ATOMZ or FREEFIND.
http://www.atomz.com/
http://www.freefind.com/

Another option may be to use Zoom
http://www.wrensoft.com/zoom/

Author

Commented:
Hi Ray,
how can I store the text of the PDF in MySQL?
Most Valuable Expert 2011
Author of the Year 2014
Commented:
You said you generate the PDF files, so I would expect that you would set up a MySQL table with the PDF contents in different columns, as appropriate to your search needs.  Then as you generate the PDF files, you would also send the underlying data to a script that would update the MySQL data base.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
my fault!
I am not english speaker, generate is not correct, I received the files and I upload them
Most Valuable Expert 2011
Author of the Year 2014

Commented:
OK, that is different.  But there still is hope.  How big are the files?

Author

Commented:
Around 5MG as maximum
Most Valuable Expert 2011
Author of the Year 2014

Commented:
Can you send one of them to me please?  A smaller one if possible - I think we have a 5MB limit on the email attachments.  Email it to me at RPaseur [at] NationalPres V ORG
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.