added Solr client code for adding documents to index