Yes, if your RequestHandler implements SolrCoreAware you will get a SolrCore reference in inform(...) method. In SolrCore you have all what you need (specifically SolrResourceLoader is what you need)

Note that if your request handler is a SearchHandler you don't need to implement that interface because it already does.

Best,
Andrea

On 08/23/2013 04:23 PM, Bruno René Santos wrote:
Is there any way inside a handleRequestBody on a RequestHandler to know the
directory where the core configuration is? (schema.xml, solrconfig.xml,
synonyms, etc)

Regards
Bruno


Reply via email to