Hello anonymous user ,
PDF preview for SharePoint 2013 integrated with Office Web Apps Server isn't enabled by default.
You could run the below script to enable PDF previews in SharePoint 2013 search results.
Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
$TenantOwner = Get-SPEnterpriseSearchOwner -Level SSA
#Search Service application name
$ssa = "Search Service Application"
$Rule = Get-SPEnterpriseSearchPropertyRule -PropertyName "FileType" -Operator "IsEqual"
$Rule.AddValue("pdf")
$RuleCollection = Get-SPEnterpriseSearchPropertyRuleCollection
$RuleCollection.Add($rule)
$Item = New-SPEnterpriseSearchResultItemType -Owner $TenantOwner -SearchApplication $ssa -Name "PDF Preview" -Rules $RuleCollection -RulePriority 1 -DisplayProperties "Title, Author, Size, Path, Description, EditorOWSUSER, LastModifiedTime,CollapsingStatus,DocId,HitHighlightedSummary,HitHighlightedProperties,FileExtension,ViewsLifeTime,ParentLink, ViewsRecent, FileType, IsContainer, SecondaryFileExtension, DisplayAuthor, docaclmeta, ServerRedirectedURL, SectionNames,SectionIndexes,ServerRedirectedEmbedURL, ServerRedirectedPreviewURL" -DisplayTemplateUrl "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Word.js" -OptimizeForFrequentUse $true
Thanks,
Echo Du
=======================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.