I ended up doing something like this: String core = "collection1_shard1_core1"; ModifiableSolrParams p = new ModifiableSolrParams(); p.set("show", "index"); GenericSolrRequest checkRequest = new GenericSolrRequest(POST, "/../" + core + "/admin/luke", p); NamedList<Object> checkResult = client.request("collection1", checkRequest);
On 16 March 2017 at 14:20, Phil Scadden <p.scad...@gns.cri.nz> wrote: > The admin gui displays the time of last commit to a core but how can this > be queried from within SolrJ? > > Notice: This email and any attachments are confidential and may not be > used, published or redistributed without the prior written consent of the > Institute of Geological and Nuclear Sciences Limited (GNS Science). If > received in error please destroy and immediately notify GNS Science. Do not > copy or disclose the contents. >