Made the plugin work with a solr server running on localhost.