Geeks With Blogs
SharePoint & SQL Thoughts
If you’ve configured PDF for Search in SharePoint 2007 then you are certainly almost there in getting it to work with SharePoint 2010. The process is almost identical with some minor changes due to service name change and directory changes. Below are the steps to get iFilter working and configuring pdf files search in a SharePoint 2010
IFilter Install
1.       Download PDF iFilter 9.0 for x64 platforms http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
2.       Stop the IIS Admin Services by issuing IISRESET /Stop
3.       Install the iFilter (this needs to be on the index server)
4.       After the installation is complete restart IIS.
Add PDF icon to SharePoint.
1.       Find your favorite PDF icon and size it to your requirement if you don’t have one you can download one from
2.       Copy the icon to SharePoint 2010 Images directory C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES
3.       Add the icon mapping into SharePoint icon mapping DOCICON.XML file located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML
As follows <Mapping Key="pdf" Value="pdf-icon.png"/>
4.       Add pdf as a new search file type in SharePoint Search Services in your Application Management in Central Administration.
5.       If the installation and mapping were performed correctly, a pdf icon should appear after adding the File Type
Making changes to the registry
1.       Add the following registry entry as shown below, and then set the registry entry value to pdf HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Applications\<GUID>\Gather\Search\Extensions\ExtensionList\
To add this entry, follow these steps:
1.       Click Start, click Run, type regedit, and then click OK.
2.       Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Applications\<GUID>\Gather\Search\Extensions\ExtensionList
3.       On the Edit menu, point to New, and then click String Value.
4.       Type 48, and then press ENTER.
5.       Right-click the registry entry that you created, and then click Modify.
6.       In the Value data box, type pdf, and then click OK.
2.       Verify that the following two registry subkeys are present and that they contain the appropriate values. If they are not present, you can manually create them
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Setup\ContentIndexCommon\Filters\Extension\
Verify .pdf subkey exists, if it doesn’t right click on Extensions and create a Subkey
3.       If the subkey exists, verify that it contains the following registry entries if not you can mod them to the subkey.
 
(StringValue) – Entry type when creating a new one
Name: Default
Type: REG_MULTI_SZ
Data: {4C904448-74A9-11D0-AF6E-00C04FD8DC02}
Verify these entries also exists, if not you can create them manually also.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Setup\Filters\.pdf
This registry subkey must contain the following registry entries:
 
(StringValue) – Entry type when creating a new one
Name: Default
Type: REG_SZ
Data: (value not set)
 
(StringValue) – Entry type when creating a new one
Name: Extension
Type: REG_SZ
Data: pdf
 
(DWord) – Entry type when creating a new one
Name: FileTypeBucket
Type: REG_DWORD
Data: 0x00000001 (1)
 
(StringValue) – Entry type when creating a new one
Name: MimeTypes
Type: REG_SZ
Data: application/pdf
 
4.       Once this process is completed, upload pdf documents on your SharePoint 2010
5.       Stop and start the SharePoint Search Service using the following commands from the command prompt. Remember administration privileges are required to perform this step.
Net Stop OSearch14
Net Start OSearch14
6.       Perform a full crawl, and your pdf files should be available in search results.
Posted on Friday, September 10, 2010 2:25 AM | Back to top


Comments on this post: Configuring SharePoint 2010 to return pdf files in search results

# re: Configuring SharePoint 2010 to return pdf files in search results
Requesting Gravatar...
Hi,

I followed these steps and now my PDF is working. Thanks a ton for really nice post.

I have a question, i found similar article on another blog but it tells to update diffrent registry entry. I have performaed steps from both blogs so dont know which one worked. I would really appricate your input on this one.

http://nickgrattan.wordpress.com/2010/06/14/adobe-pdf-ifilter-indexing-with-sharepoint%C2%A02010/

Thanks,
Tapan
Left by Tapan Desai on Jan 05, 2011 6:55 AM

# re: Configuring SharePoint 2010 to return pdf files in search results
Requesting Gravatar...
Hi,
I don't have
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Search\Applications\<GUID>\Gather\Search\Extensions\ExtensionList

It goes only to \Application\ and there is no GUID afterwards.

Ideas?
Left by Martin on Mar 09, 2011 3:22 AM

# re: Configuring SharePoint 2010 to return pdf files in search results
Requesting Gravatar...
Hi Martin,

What version of SharePoint are you running, fullblown SharePoint or SharePoint Foundation?
Left by Leonard Mwangi on Mar 09, 2011 3:27 AM

# re: Configuring SharePoint 2010 to return pdf files in search results
Requesting Gravatar...
This is a great post, thank you. I am running Sharepoint 2010 Server and have both an application server and a web front end. Do I need to install and configure both, I see a note that "this needs to be on the index server"...but am not sure which that is? Thanks for your help. Heidi
Left by Heidi Hagman on Apr 25, 2011 1:44 PM

# re: Configuring SharePoint 2010 to return pdf files in search results
Requesting Gravatar...
Thanks Harve for reading my post, you need to configure it on your indexing server.
Left by Leonard Mwangi on Jun 09, 2011 10:31 PM

Comments have been closed on this topic.
Copyright © Leonard Mwangi | Powered by: GeeksWithBlogs.net