changed the way how i add document in solr