title: Does Solr have an API to read schema.xml?
body: <p>Is there any Solr API to read the Solr schema.xml?</p>
  <p>The reason I need it is that Solr faceting is not backwards compatible. If the index doesn't define field A, but the program tries to generate facets for field A, all the facets will fail. Therefore I need to check in the runtime what fields we have in the index, and generate the facets dynamically.</p>