a working version of the psql-solr4 integration