code: protected SolrInputDocument createAndWrite(Object source) {
  		SolrInputDocument document = new SolrInputDocument();
  		write(source, document);
  		return document;
  	}
docs: create a new {@link SolrInputDocument} for given source and write values to it
  
  @param source
  @return