- Download and install the PDF iFilter msi
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
- Download the PDF file icon. http://www.adobe.com/legal/permissions/icons-web-logos.html
- Save the icon file gif to the following location:
C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATEIMAGES
- Add the mapping entry to the docIcon.xml file located :Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATEXML
<Mapping Key=”pdf” Value=”pdficon.gif” OpenControl=””/>
- Add the pdf extension to the File Types of the Search Application Service
- Using regedit, navigate to:
\HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters
Add the following values to this key:
<REG_SZ> Default = <value not set> <REG_SZ> Extension = pdf <REG_DWORD> FileTypeBucket = 1 <REG_SZ> MimeTypes = application/pdf
You can also use Powershell to create the keys and values:
New-Item -path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters.pdf’ | Out-Null
New-ItemProperty -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters.pdf’ -Name “Extension” -value “.pdf” -PropertyType string | Out-Null
New-ItemProperty -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters.pdf’ -Name “Mime Types” -value “application/pdf” -PropertyType string | Out-Null
New-ItemProperty -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupFilters.pdf’ -Name “FileTypeBucket” -value “1” -PropertyType dword | Out-Null
- Using regedit, navigate to:
\HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupContentIndexCommonFiltersExtension
Right-click the Filters folder and select New key. Enter “.pdf” for the key value and set the default value to {E8978DA6-047F-4E3D-9C78-CDBE46041603}
And again, you can also use Powershell to create the key and value:
New-Item -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupContentIndexCommonFiltersExtension.pdf’ | Out-Null
New-ItemProperty -Path registry::’HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice Server14.0SearchSetupContentIndexCommonFiltersExtension.pdf’ -name “(Default)” -Value “{E8978DA6-047F-4E3D-9C78-CDBE46041603}” -PropertyType string | Out-Null
Restart the SharePoint Search Service