SolrServer
SolrServer是一个抽象类,主要要的实现类有CommonsHttpSolrServer、HttpSolrServer、ConcurrentUpdateSolrServer等,SolrServer类主要用于对索引的创建、添加、删除、修改、查询,因此对于索引的所有操作都是交给SolrServer来完成。CommonsHttpSolrServer类是在Solrj3.5版本之前的(包括3.5版本),而HttpSolrServer是在3.5版本之后的,我们主要以HttpSolrServer为主。其基本用法如下:SolrServer是一个抽象类,主要要的实现类有Co