If you have Display Suite installed, then on the "Manage Display" tab of any content type you will see template suggestions:
Possible template suggestions are:
None of these suit what I'm wanting to achieve, as I wanted a template to apply to all "search-result" view modes for any content type. So my template suggestion would be:
But it seems it's not by default accepted. Which hook can I use to add this template suggestion? I was thinking of
hook_preprocess_node and adding my own template suggestion to
theme_hook_suggestions but this didn't work as it wasn't using my suggestion on node types which have search_result view mode applied to them. The template was only being used on the ones without any search_result view mode configurations, and even then only normal node.tpl.php variables such as $content was passed to this DS template so I don't think it's the right way to do it.