Fast Search - Search results return PDF filetypes but not PDF icon
-
Thursday, May 10, 2012 2:24 PM
Hello
I did configure Fast Search for Intranet farm. Every thing looks good except PDF Icon not appearing in Fast Search Results.
I did follow the instructions at the following Url's
http://support.microsoft.com/kb/2293357
http://blog.isaacblum.com/tag/kb2293357/
I have no clue why it is not working? Can someone share me an idea?
All Replies
-
Thursday, May 10, 2012 3:16 PM
Did you add the pdf file type in Sharepoint? Also did you add the icon/image to WFEs and not just the App servers?
HTH
de Nada
-
Thursday, May 10, 2012 4:00 PM
Can you see pdf icons on document libraries?
Are you sure that you updated the file DOCICON.XML under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML in all servers and copied the pdf icon under the folder C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\ of every server?
Cheers
Riccardo -
Thursday, May 10, 2012 4:07 PM
plus to what Mr. Riccardo said ,
check the image if it's not corrupted and make sure it's in all frontend servers [http://www.adobe.com/misc/linking.html]
and make IISReset after you modified the above xml file .
Regards,
Fadi Abdulwahab, SharePoint Consultant
http://blogs.msdn.com/b/fabdulwahab
http://sqlgoogler.blogspot.com/ -
Thursday, May 10, 2012 6:03 PM
Thanks for replying every one.
MLSoung
I did add pdf as file type. Also Did add the icon/image to WFE as well as App Server? We have 1 app server , 1 WFE environment.
Riccardo
Yes, I am sure I updated the DOCICON.XML as well as copied the pdf icon which is 16X16 size on every server.
Fadi
The image is not corrupted for sure, as it is showing in document libraries. But not on Search Results. I did restart of IIS, SharePoint Server Search 14 service,Fast Search for Sharepoint service as well as reboot WFE and app server too.
-Venkata s Yarlagadda
-
Thursday, May 10, 2012 7:29 PM
So if you upload a pdf file to a document library, the pdf icon appears fine?
de Nada
-
Thursday, May 10, 2012 9:27 PM
Well, One of my colleague pointed out couple of things and found an answer why it's not working. I owe him a coffee.
* Its not even crawling PDF documents. It was just referring to the pages where pdf is at in the search results.
I was confused on this first.
Here is the answer why PDF's (PDF Icons) are not showing in Search results :
File Types: (Culprit)
On FAST Content SSA:
Look at the words(Read Carefully) : Use this page to specify file types to exclude from the content index
*********** Do not include PDF as file type under FAST Content SSA.
On FAST Query SSA:
Look at the words(Read Carefully) : Use this page to specify file types to include in the content index.
Include PDF as file type under FAST Query SSA
Then do the Full Crawl. Now the pdf (Icons) files are showing up in search results.
Thanks for every one.
- Marked As Answer by Venkata S Yarlagadda Thursday, May 10, 2012 9:32 PM
-
Sunday, October 21, 2012 12:13 PM
Hi All,
I configured everything to get the pdf docs.I was able to view the pdf icon in libraries and lists but not in the search results..
then a magic worked for me...rename the pdf pic as 'pdf16.gif'
And everything started working excellent....I still dont know what the hell name has to do with this...but i am happy that it is working...
-
Tuesday, November 13, 2012 10:38 PM
Hi, All:
I have done everything mentioned on this thread, checked docicon.xml, case sensitivity. reset IIS, renamed pic file.
OFC, full crawl. Nothing works.
The catch is that when I look at the FAST Query SSA File type, after I create a new type pdf, there is no icon in the file list. Obviously Central Admin UI has not picked up from docicon.xml. or I dont know it will ever.
If you have used this thread (http://blogs.msdn.com/b/thomsven/archive/2011/01/26/seeing-what-actual-gets-indexed.aspx)to view all managed property by FAST, you will find that "imageurl" is the propery that will be used for the search result icon, and for pdf, it is still shown as
"imageurl: /_layouts/images/generaldocument.gif"
so here is how I did it, open search core result web part and make sure the fileextension is in the feteched properties list. Then modified the Display Property xslt with following:
<div class="srch-Icon" id="{concat($currentId,'_Icon')}">
<xsl:choose>
<xsl:when test="fileextension = 'PDF' ">
<img align="absmiddle" src="/_layouts/images/pdficon16.gif" border="0" alt="{imageurl/@imageurldescription}" />
</xsl:when>
<xsl:otherwise>
<img align="absmiddle" src="{imageurl}" border="0" alt="{imageurl/@imageurldescription}" />
</xsl:otherwise>
</xsl:choose>then everything worked.
Cheers, NH
Edit: Just to clarify my enviroment, we have SP 2010 with FS4SP, but ATM, all our content is still in MOSS 2007. I did create a sample library in SP 2010, uploaded a pdf, works fine with icon. But not for the content from MOSS 2007 farm.
- Edited by n hao Tuesday, November 13, 2012 10:46 PM to clarify the enviroment

