minor change to solrAddDoc function