That is what I needed

req.getCore().getResourceLoader().getConfigDir()

Thanx
Bruno


On Fri, Aug 23, 2013 at 3:37 PM, Andrea Gazzarini <
andrea.gazzar...@gmail.com> wrote:

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


-- 
Bruno René Santos
Lisboa - Portugal

Reply via email to