only execute job if env supports solr