Add sanity check for solr.