Modified function that retrieves data about solr