示例#1
0
 public void delete(String id) throws IOException, SolrServerException {
   server.deleteById(id);
   server.commit();
 }
示例#2
0
 public void index(ProductItem item) throws IOException, SolrServerException {
   server.addBean(item);
   server.commit();
 }