Alex Rivera | Logout

Indexing Word Documents and PDFs with Sphinx

Asked 2009-07-30T17:11:41.427
10

I have a website where users upload documents in .doc and .pdf format. I am using Sphinx to conduct full text searches on my SQL database (MySQL). What is the best way to index these file formats with Sphinx?

Edit
Report

1 Answer

9

The method I use for this is pdf2text and antiword. I use both of these to dump the contents of the pdfs and word documents into the database. From there it's easy to crawl with Sphinx.

answered 2011-04-02T22:01:27.907

Your Answer