SolrInputDocument doc(SolrInputField... fields){
  SolrInputDocument d=new SolrInputDocument();
  for (  SolrInputField f : fields) {
    d.put(f.getName(),f);
  }
  return d;
}

SolrInputDocument doc ( SolrInputField ... fields ) { SolrInputDocument d = new SolrInputDocument ( ) ; for ( SolrInputField f : fields ) { d . put ( f . getName ( ) , f ) ; } return d ; }
convenience method for building up solrinputdocuments
