Made it work without solr for heroku