Re: Using the Schema API from SolrJ

2013-07-08 Thread Shawn Heisey
On 7/6/2013 4:27 PM, Steven Glass wrote: Thanks for your response. But it seems like there should be a way to issue the equivalent of http://localhost:8983/solr/schema/version which returns { "responseHeader":{ "status":0, "QTime":4}, "version":1.5} from the s

Re: Using the Schema API from SolrJ

2013-07-06 Thread Erick Erickson
You _should_ be able to use an HttpSolrServer, set the base URL and then go ahead and make the request. Haven't done it myself, but the SolrJ "support" for various Solr features often consists of just convenience methods over the underlying HTTP, saving you the necessity of, say, parsing the respon

Re: Using the Schema API from SolrJ

2013-07-06 Thread Steven Glass
Thanks for your response. But it seems like there should be a way to issue the equivalent of http://localhost:8983/solr/schema/version which returns { "responseHeader":{ "status":0, "QTime":4}, "version":1.5} from the server. I know how to do it using HTTPGet in

Re: Using the Schema API from SolrJ

2013-07-06 Thread Jason Hellman
Steven, Some information can be gleaned from the "system" admin request handler: http://localhost:8983/solr/admin/system I am specifically looking at this: example Mind you, that is a manually-set value in the schema file. But just in case you want to get crazy you can also call the "file" a

Re: Using the Schema API from SolrJ

2013-07-06 Thread Steven Glass
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 > ho

Using the Schema API from SolrJ

2013-07-03 Thread Steven Glass
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