Adding support for the old solr templating.