On Fri, Apr 3, 2009 at 6:11 PM, Fink, Clayton R. <clayton.f...@jhuapl.edu>wrote:

> 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.
>

Hit /admin/luke to get luke's output as an XML which you can parse. You can
also hit /admin/file/?file=schema.xml. If you are using Solrj, you'd need to
set qt=/admin/luke or qt=/admin/file for this to work.

Note that the luke handler gives out a lot of information like term
frequency and therefore takes a longer time to execute.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to