yes, it's solr_cloud, version is 4.8. Solrj version is 5.4.1.sorry, yes, there are no systeminforequest, I'm sending new GenericSolrRequest(SolrRequest.METHOD.GET, "/admin/info/system", new MapSolrParams(ImmutableMap.of()))
2016-04-13 18:38 GMT+03:00 Shawn Heisey <apa...@elyograg.org>: > On 4/13/2016 9:01 AM, Iana Bondarska wrote: > > I'm trying to get solr version via solrj api. If I try to use > > SystemInfoRequest without specifying collection -- I'm getting an error > "No > > collection is set and no default collection specified". > > Could you tell me please, is there any way to get solr version without > > specifying collection? > > What version of Solr? What version of SolrJ? is it SolrCloud? Which > SolrClient implementation are you using? > > I do not see anything in the Solr source code named "SystemInfoRequest", > so it would probably be a good idea to share your .java file on the > Internet and provide a URL to reach it. > > Thanks, > Shawn > >