SharePoint 2013 Search – Not finding GIF / TIF / JPG / BMP / PNG files that are in a document library. The results returned are of the form of …DispForm.aspx?ID=XX

When searching for an image file the results found of these items are not returned the same as other documents stored in the library. DOCX and TXT files return a URL with the file name listed. Where the Image files return a Dispform.aspx page. When clicking on the URL the library view properties page is displayed instead of opening the file. How do you change this behavior?

I have tried the following steps.

In central admin adjusted the Search Service Application file types to include these extensions. The list was updated with icons and the extension name.

Reset the Index / ran a FULL CRAWL No Help

Checked the Mime types in IIS they are of the appropriate Image/TIFF. And etc.

I have started the TIFF OCR system on the indexing server

Ran the following PowerShell script for TIFF files:

$ssa = Get-SPEnterpriseSearchServiceApplication

Get-SPEnterpriseSearchFileFormat -SearchApplication $ssa

New-SPEnterpriseSearchFileFormat -SearchApplication $ssa tif "TIFF Image File" "image/tiff"

New-SPEnterpriseSearchFileFormat -SearchApplication $ssa tiff "TIFF Image File" "image/tiff"

Checked out the following suggestions with no luck.

 

SharePoint 2013: Image Preview in Search Results - Part I

 From <http://stevemannspath.blogspot.com/2013/02/sharepoint-2013-image-preview-in-search.html>

 

 Understanding how search results are displayed in SharePoint Server 2013

 From <http://blogs.technet.com/b/tothesharepoint/archive/2013/09/04/understand-how-search-results-are-displayed-in-sharepoint-server-2013.aspx>

 

 Enabling OCR of TIFF images for SharePoint 2013 Search

 From <http://trentacular.com/2013/08/enabling-ocr-of-tiff-images-for-sharepoint-2013-search/>

 

Add new file type in SharePoint

 From <https://kerseub.wordpress.com/2012/04/23/add-new-file-type-in-sharepoint/>

March 24th, 2015 7:18pm

Hi Bobby,

As my test, it seems that the URL displayed in the search results for the items are the URL crawled in crawl log. And only jpg and png files can be displayed with the file URL instead of the display form URL in Search results.

The other types such as gif, tif and bmp will be displayed with display form URL for the items. SharePoint search will not parse the files in gif, tif or bmp files as there is no built in iFilter for those file types.

So if you want to be able to parse those files, you need to create custom iFilters for those file types.

http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/05/13/how-to-implement-a-custom-ifilter-in-sharepoint-2013.aspx

Best regards.

Vi

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 8:13am

Victoria,

Thank you for your response

Lets work with your first paragraph. And only jpg and png files can be displayed with the file URL instead of the display form URL in Search results. SharePoint is currently not showing the URL for these file extension. What needs to be done to get this working?

Secondly, without a custom iFilter, after installing the TIFF OCR on the index server and running the PowerShell script, the TIF / TIFF formats should now be working. What needs to be done to get this working?

The BMP / GIF are nice to haves, but most files will be put in the document library as the first three. I would be satisfied to get the first 2 scenarios functional in SharePoint.

March 25th, 2015 8:45am

Hi Bobby,

Firstly, I recommend to check the crawl log to see if the crawled URL for the items are displayed with the file URL instead of display form for the items. And make sure that the file types have added to the File Types in Search Service Application.

Secondly, please do an IISRESET and restart SharePoint Search Host Controller service and SharePoint Timer Service, and then do a full crawl to see how it works.

Thirdly, to narrow down the issue scope, I recommend to create a new Search Service Application to see if the issue still occurs.

Best regards.

Victoria

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2015 11:14pm

Victoria,

This is helpful, in narrowing down where to look. I have done the following items.

 In central admin adjusted the Search Service Application file types to include these extensions. The list was updated with icons and the extension name.
 I have started the TIFF OCR system on the indexing server
 IISRESET and restart SharePoint Search Host Controller service and SharePoint Timer Service
 Simplified the Content source to include only https://XXX.TheSite.com and sps3s://XXX.TheSite.com
 Did an index reset and full crawl

When I check the Crawl Log in Central Admin / Search Service I am seeing tems with JPG / PNG / GIF as you have suggested should be visible.
I am not seeing the TIF / TIFF items.
I believe this is the item that needs resolved. Where can I diagnose the further?

March 26th, 2015 10:22am

Hi Bobby,

I have enabled OCR of TIFF images in my environment and it worked fine.

Did you enable OCR of TIFF images in each crawl server?

I recommend to enable OCR of TIFF images in each crawl server and make sure that the correct language is selected.

After that, restart SharePoint Search Host Controller service and do a full crawl to see how it works.

Best regards.

Victoria

Free Windows Admin Tool Kit Click here and download it now
March 26th, 2015 10:52pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics