prevent panic mode is solr is not found. prevent panic mode if facets are not part of the query