ACF File field with Solr search demo

178 views January 24, 2017 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.

Tags:

Was this helpful?

Leave A Comment
*
*

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