iFilter for PDF Search in SharePoint 2010


To totally unlock this section you need to Log-in


Login

What is iFilter?

IFilters are components that allow SharePoint to index content of specific file types, letting users to search for content in those files.

Using the SharePoint Search we can find documents based on their filename, metadata or content within a document. By default the content of Office documents is indexed by the SharePoint crawler, but PDF files are not crawled.

To add support for PDF files you have to add an I-Filter which the SharePoint crawler uses to read through PDF files and add the information to the search index.

There are two steps in configuring PDF Search IFilters for SharePoint:

1. Install the PDF iFilter;
2. Configure the iFilter;

Installing IFilter

The Installation of the iFilter 9.0 has to be done on the Index Server(s). How to install ifilter in SharePoint 2010?

Download and install the iFilter installation file for 64-bit machine from: Click Here!

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Choose the location for the installation files to reside and complete the installation by clicking Install and finish the installation wizard.

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Configuring iFilter

On WFE Server(s):

Download PDF icon picture (17x17) from Adobe web site http://www.adobe.com/misc/linking.html and copy to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\;

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Add an entry in docicon.xml

Backup the docicon.xml file, and Add an entry in docicon.xml for the PDF icon:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML

Above steps are done in order to have the PDF icon in SharePoint search results.

Add PDF file type on the File Type page under Search Service

Open SharePoint Central Administration >> General Application Settings >> Farm Search Administration

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Click on Search Service Application:

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Click on File Types to add PDF extension for SharePoint 2010:

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Add new File Type extension “PDF” to setup IFilter for SharePoint 2010:

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Enter file extension as pdf and click OK and get out from Central Administration:

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

On Index Server(s)

Open Regedit and go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\Filters

Right-click the Filters folder and select New Key. Enter “.pdf” for the key value.

iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Add the following values:

 Default =  

Extension = pdf
FileTypeBucket = 1
MimeTypes = application/pdf
iFilter for PDF Search in SharePoint 2010

iFilter for PDF Search in SharePoint 2010

Associate the iFilter by following below steps:

  • Open Regedit
  • Navigate to the following location:
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension
    

  • Right-click > Click New > Key to create a new key for .pdf
  • Add the following GUID in the default value: {E8978DA6-047F-4E3D-9C78-CDBE46041603}
  • iFilter for PDF Search in SharePoint 2010

    iFilter for PDF Search in SharePoint 2010

    Restart all SharePoint services as well as IIS. Restart the SharePoint Server Search 14.

    iFilter for PDF Search in SharePoint 2010

    iFilter for PDF Search in SharePoint 2010

    Or execute the below commands:

    net stop OSearch14
    
    net start OSearch14

    Reboot the SharePoint servers in Farm and then perform FULL Crawl to get search result. To allow PDF’s to open in the browser:

  • Navigate to Central Administration >> Application Management
  • Select the appropriate web application (you may have to repeat these steps if you have multiple web apps) then click on General Settings in the Ribbon
  • Scroll down to “Browser File Handling” and set this to Permissive
  • Click the OK button. (Repeat the last two steps for additional web apps)
  • Unit Testing: create a document library upload any sample PDF document(s). Once the full crawl is completed we will get search results.

    iFilter for PDF Search in SharePoint 2010

    iFilter for PDF Search in SharePoint 2010

    Download

    NOTE: to download is allowed only to registered and logged on HeelpBook. Sorry.
    [wpfilebase tag="file" id=142 /]