lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Gazzarini <andrea.gazzar...@gmail.com>
Subject Re: Solrconfig.xml
Date Fri, 23 Aug 2013 14:37:42 GMT
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
>


Mime
View raw message