Does anyone have any idea how I can access the schema version info using SolrJ?
Thanks. On Jul 3, 2013, at 4:16 PM, Steven Glass wrote: > I'm using a Solr 4.3 server and accessing it from both a Java based desktop > application using SolrJ and an Android based mobile application using my > home-grown REST adaptor. I'm trying to make sure that versions of the > application are synchronized with updates to the server (too often testers > forget to update an app when the server changes). I want to read the schema > version from the server and make sure it is the expected value. > > This was very easy to do using my home-grown REST adaptor. The wiki examples > at http://wiki.apache.org/solr/SchemaRESTAPI were sufficient. > > Unfortunately, I cannot figure out how to do the equivalent with SolrJ. I > suspect that there is a really simple approach but I'm just missing it. > > Thanks in advance for any guidance you can offer. > > Best regards, > > Steven Glass