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 >