Friday, July 27, 2012

Search Pdf files in SharePoint 2010


I created a document search application couple of days ago. This application contains large number of pdf files. When I type a search term it not results pdf files as search results. After some search on google I found that there are some installation and configuration should be done in SharePoint server. I thought to share this information.

To enable pdf search it is required to install PDF iFilter to the SharePoint server. You can download PDF iFilter at the following link. http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
Just double click and run the wizard to install PDF iFilter. Next you need to do some configurations in the registry. Follow the steps. 

1.       Click start, Run and type regedit to open the Registry Editor. 
2.       Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\Filters 
3.       Right click on the Filters and click New > Key 
4.       Type the key name as ‘.pdf’ 
5.       You need to add the following values to the key .pdf 


6.       To add values right click at the right side of the window and select New> string value. 
7.       Next go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension in the registry. 
8.       Right click on the Extension and click New > Key. 
9.       Add the key as .pdf 
10.   For the Default value add the following value. 


The configurations of the registry is complete. Next we have to add the file type in Central Administration. To add the file type follow the steps.
  
1.       Go to Manage service applications under Application Management 
2.       Select Search service application 
3.       At the left side click on File Types under Crawling section. 
4.       Click New File Type and add pdf as a file type.

The installation and configuration is complete to search pdf files in SharePoint. At the end you have to do IISReset on the SharePoint server and restart the SharePoint Server Search 14 and SharePoint Foundation Search V4 services.

Now you will be able to search pdf files in SharePoint 2010.
:)

No comments:

Post a Comment