I'm using sitecore 9.3.

I have a case where i have some content files (ex: PDF files) uploaded to sitecore media library and I have a search box component.

I need to configure my search box scope to search the content of those media library files. So if i wrote a search keyword,in the search box, that is included in the content of those uploaded PDF files, then i need to return this files somehow in the search results.

According to this Link, PDF files content is indexed by default in sitecore 9.3, but i'm not sure how to check these indexed content? and how to return its items in a search result.

Any help?

1 Answer 1


I had the same request before and following what I did:

  1. Download and install PDF Ifilter on CM server, here is the link http://download.adobe.com/pub/adobe/acrobat/win/9.x/PDFiFilter64installer.zip, after install please clear media cache + sitecore cache and restart IIS, then rebuild indexes.

enter image description here

  1. Use Solr Admin to check media items are being indexed use something like:

enter image description here

  1. Also make sure to inherit _Searchable base template in your media items templates, see the following screenshots:

Media items templates as example:



Base template to inherit:

/sitecore/templates/Foundation/Experience Accelerator/Search/Computed Fields/_Searchable

enter image description here

In Solr admin you should find the PDF item and the _Searchable field set to true in order to get it in your search results: enter image description here

  • where is media cache and sitecore cahce located?
    – AME
    May 31, 2020 at 19:03
  • sitecore cache: websiteUrl/sitecore/admin/cache.aspx media cache: media folder under websitePath\App_Data\MediaCache May 31, 2020 at 19:05
  • i followed the steps but now the PDF files items appears in the search scope but nothing is returned in search results, any idea what i might be missing?
    – AME
    May 31, 2020 at 19:19
  • check if you are using the correct index (use browser network tab to find the request and the params used), check if you are using a suitable result template for media items, I used Scriban to create a search result variant (sitecoreinfo.blogspot.com/2020/05/…), also check the language of your search result interface (language/index mapping configured on the (/sitecore/content/Tenant/Site/Settings/Site Grouping/Site) more information (doc.sitecore.com/developers/sxa/93/…). May 31, 2020 at 19:29
  • 1
    Let us continue this discussion in chat.
    – AME
    May 31, 2020 at 19:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.