I'm looking for a plugin or a idea so that my WP 3.1 search engine can index PDF files. Has anyone be through that need too ?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
The standard WordPress search is pretty basic and only search the database, there are some plugins that extend the search functionality to search even more parts of the database like:
but they do not have the ability to search files. There is one plugin that i know of that claims to support indexing PDF and DOC files
But the best solution I have used for this kind of "Job" is Google custom search that searchs PDFs and DOCs and is fairly easy to set up.
You can use SearchBlox which provides a plugin to connect the search server with Wordpress
This plugin searches inside PDF contents:
From the home page:
Index PDF content automatically
Index the PDFs within your Media library, allowing visitors to find content from those documents in your site search.
I have found one solution. Maybe it will work for you also :
Masala Plugin : https://github.com/nanodust/masala , which actually add new post meta field while uploading any doc/pdf/ppt/txt file. It will put the file content into newly created meta field
This plugin uses : 1) Java 2) Apache Tika – really awesome 3) Search Everything plugin which is responsible for search in meta table.
Here, you need to configure : 1) Java path 2) Download latest apache tika jar and you can put into your project root folder and configure path in masala.php 4) Give the allowed file extensions.
ITS DONE !!