ACF File field with Solr search demo

263 views January 24, 2017 July 13, 2019 admin 0

This post si a demo of the ACF File field.

It contains an ACF file field linking to a PDF document url:

PDF document inserted in the post with an ACF File Field.

PDF document inserted in the post with an ACF File Field.

Each time the post is saved, the PDF document is downloaded, it’s content extracted and inserted in the post content, during Solr indexing. See details.

Then, if you search for a keyword contained in the PDF document, this demo post will be displayed in the results, and the keyword will be highlighted. Exactly as if the PDF was copied in the post content.

Post with Embed Any Document shortcode, displayed and highlighted in search results.

Post with ACF File Field displayed and highlighted in search results.


Was this helpful?

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Join Our weekly Newsletter

Receive our latest news once a week, each Thursday afternoon.
Your email is kept 100% private, and you will not receive other stuff in your mailbox.

We keep your data private and share your data only with third parties that make this service possible. Read our Privacy Policy.