Setting up the solr search.