Dirty first working version for the solr connector