Divided into two parts solrj3&solrj4