On Dec 6, 2007, at 3:07 PM, Ryan McKinley wrote:
public static SolrInputDocument toSolrInputDocument( SolrDocument d )thanks, that worked! agree it's useful to have in clientutils... though I'm not sure why there needs to be two separate classes to begin with.{ SolrInputDocument doc = new SolrInputDocument(); for( String name : d.getFieldNames() ) { doc.addField( name, d.getFieldValue(name), 1.0f ); } return doc; }