This article describes how you can enable PDF preview in the search core results web part.
By default, PDF previews are not turned on in the search core results web part. Office Web Apps only supports Office documents such Word, Excel, PowerPoint, ad OneNote, but there is no support to preview other documents such as PDF.
To be able to preview PDF documents, you will have to develop your own preview panel to show it. There are 2 options in enabling previews for PDF:
Option 1: Create a custom PDF Hover Display Template
Here are the steps to create a custom Display Template:
<div id="_#= $htmlEncode(id + HP.ids.header) =#_" class="ms-srch-hover-header">
_#= ctx.RenderHeader(ctx) =#_
</div>
<div id="_#= $htmlEncode(id + HP.ids.body) =#_" class="ms-srch-hover-body">
_#= ctx.RenderBody(ctx) =#_
</div>
With this code
<object data="_#= ctx.CurrentItem.Path =#_" type="application/pdf" width="500px" height="450px">
<p>You do not have a PDF applicaiton to preview this document.
You can <a href="_#= ctx.CurrentItem.Path =#_">click here to download the PDF file.</a></p>
</object>
Option 2: Use Word Hover Display Template
This option does not require any coding or change to the Display Template, but configuration which Template PDF should use. Here are the steps to change the use of a display template for PDF:
Disadvantage:
There is a disadvantage for each option: