Indexing PDF in MOSS 2007


PDF IconA 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.

  1. Go to Central Administration->Shared Services and choose the relevant service.
  2. Select Search Settings
  3. Show the list of file extensions to be indexed
  4. 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)
  1. If it is showing just “pdf document” it means Sharepoint cannot read the files yet(or dll’s not loaded)
  2. Go to and download the Ifilter, and install on the server where indexer is running.
  3. 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

  1. 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 …)

  1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *