Yes Search engines can easily crawl media files which are attached in the article, they can easily crawl and index pdf files hosted on your website or attached with the article.