: Are you looking to get access to a remote schema?   You can pull schema.xml
: via HTTP using a URL like:

Alternately: using the LukeRequestHandler may give you more structured 
access to the schema, dependso n what you are looking for.

: If you're accessing the schema from inside a custom Solr component then the
: IndexSchema API (which you can get to from pretty much any context you're in)
: is the way to go.

Specificly: you can get it from SolrIndexSearcher.getSchema(). There is a 
SolrIndexSearcher associated with every SolrQueryRequest.


-Hoss

Reply via email to