If your search result represents a page or a blogpost then $searchResult.object is a Page placeholder. The search result types are defined here.

For example, you would need something like this: 

#if ($searchResult.type == "page" || $searchResult.type == "blog_post") 
     $searchResult.object.renderContent(...) 
# else 
     < handle attachments, users, status updates > 
#end
CODE