A thing that irritated me on our Sharepoint server was the fact that the PDF documents were not indexed and as most of our documentation is uploaded into Sharepoint one want to have a quick search through certain libraries to quickly find a word or phrase, and thus it is essential to have this facility working.
So first, I went into the Central Administration->Shared Services and chose the service, and quickly checked under the “Search Settings” if pdf are listed in the list of files that needs to be indexed.
- Go to Central Administration->Shared Services and choose the relevant service.
- Select Search Settings
- Show the list of file extensions to be indexed
- If PDF is not on the list, add itâ€¦. (you’ll notice that it will just say PDF document and not “Adobe Acrobat Document“) type of name)
- If it is showing just “pdf document” it means Sharepoint cannot read the files yet(or dll’s not loaded)
- Go tohttp://www.adobe.com/support/downloads/detail.jsp?ftpID=2611 and download the Ifilter, and install on the server where indexer is running.
- Now go back to the File Types and re-add pdf as an extension and it should resolve and show the application type as “Adobe Acrobat Document“
To re-index documents in the library use the “Reset all Crawl content” and got to Schedules and do a run again, it should take 10-60 minutes(or more!!) depending on your settings and size of libraries.
The next thing that needs to happen is you need to set an icon for PDF documents otherwise it will just show a blank icon or the default sharepoint one.
To do this you need to do 2 things
- Copy a gif/jpg/png file for the icon to
\Program Files\Common Files\Microsoft Shared\web server extensions\4\TEMPLATE\IMAGES (the 40 could be a 60 as well â€¦)
- Edit the following file and add one entry into the xml
<Mapping Key=”pdf” Value=”pdf.jpg”/>
You should now be able to index and have the results show a nice pdf document icon next to it.