Thursday 28 April 2011

Installing PDF iFilter for SharePoint 2010

One of the most common things you will ever need to do on a new SharePoint server is to install the PDF iFilter to ensure pdf’s are crawled and hence searchable.  I found a good blog post here written by Syed Adnan Ahmed from which I have copied the following content.

Follow the steps below to install and configure PDF iFilter on SharePoint Server 2010 or Search Server Express 2010.

  1. Install PDF iFilter 9.0 (64 bit) from here.
  2. Download PDF icon file from pdf16.gif and copy at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\.
  3. Add the following entry in docIcon.xml file, which can be found at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML.
    <Mapping Key="pdf" Value="pdf16.gif" /> 

  4. Add PDF file type on the Manage File Type page under Search Service Application.
  5. Open registry by executing regedit on the Start --> Run.
  6. Navigate to the following location:
    \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\
    14.0\Search\Setup\ContentIndexCommon\Filters\Extension

  7. Right-click Extension, a menu will appear.
  8. Click New--> Key to create a new key for .pdf. See screen shot below:


  9. Enter .pdf and save key.



  10. Now add the following GUID in the default value as shown in the figure below.

    {E8978DA6-047F-4E3D-9C78-CDBE46041603} 


  11. If you are configuring SharePoint Server 2010, then restart Search service by executing the following command on the command line:
    net stop osearch 
    net start osearch

  12. If you are configuring PDF iFilter on Search Server 2010, then restart the SharePoint Server Search 14service as shown in the figure below:


  13. Perform incremental to include PDF files.
  14. PDF iFilter is successfully configured. Now you can search for the content of PDF file. See screen shot below:


Note: SharePoint Server 2010 or Search Server 2010 Express provides out of the box search support for .ZIPfiles, so you download and have to install Microsoft Filter pack as you used to do with MOSS 2007

No comments:

Post a Comment