Added a search method to query the solr database