List<SolrInputDocument> solrInputDocs = new ArrayList<SolrInputDocument>(); for (List<NamedList> n : doclist) { solrInputDocs.add(listToSolrInputDocument(n));
List<SolrInputDocument> solrInputDocs = new ArrayList<SolrInputDocument>(); for (List<NamedList> n : doclist) { solrInputDocs.add(listToSolrInputDocument(n));