Thanks, Jeff.

Luke will work , but it's a GUI - unless they expose an API that I can call. 
What I need is a way to get the informatiom as a client call to a SolrJ 
SolrServer object. We want to be able to get this info whether we are running 
Solr embedded or as a Web service. I guess I could write a request handler to 
return this info, but I like to see what's the "right" way to do this.

Clay  

-----Original Message-----
From: Jeff Newburn [mailto:jnewb...@zappos.com] 
Sent: Thursday, April 02, 2009 6:14 PM
To: solr-user@lucene.apache.org
Subject: Re: Remote Access To Schema Data

Fastest way I know of to get the schema is using the luke browser.
http://localhost/solr/admin/luke
It returns in xml and has tons of info you probably aren't interested it.
However, it does contain information like fields and type.

--
Jeff Newburn
Software Engineer, Zappos.com
jnewb...@zappos.com - 702-943-7562


> From: "Fink, Clayton R." <clayton.f...@jhuapl.edu>
> Reply-To: <solr-user@lucene.apache.org>
> Date: Thu, 2 Apr 2009 17:29:38 -0400
> To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
> Subject: Remote Access To Schema Data
> 
> Hi:
> 
> I want to get a list of the fields and field types for an index deployed on a
> Solr server (over HTTP or embedded). I can't see any obvious way to do this as
> a client.
> 
> This is part of the use case for an app we are working on where all field
> information for an index is available and we can programmatically format
> updates and queries based on the available fields.
> 
> Thanks,
> 
> Clay Fink
>  

Reply via email to