Thanks Chris. I have implemented SolrCoreAware interface and loading the
required file in the inform method.
Thanks,
Ramana.
On Wed, Sep 10, 2014 at 10:59 PM, Chris Hostetter
wrote:
>
> : But, To make it better, I would like to load this file only once and in
> the
> : init() method of handler
: But, To make it better, I would like to load this file only once and in the
: init() method of handler class. I am not sure how to get the access of
: SolrCore in the init method.
you can't access the SolrCore during hte init() method, because at the
time it's called the SolrCore itself is not
Hi,
I need to load a file in instance's conf directory and this data is going
to be used in handleRequestBody() implementation. As of now, i am loading
the file in the handleRequestBody method like below.
SolrCore solrCore = req.getCore();
solrCore .getResourceLoader().getLines(fileToLoad);
But,