public void Add() { SolrServer solr = new CommonsHttpSolrServer(solrUrl); solr.addBean(new Document { Id = "3", SKU = "abcde", }); solr.commit(); }