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, 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. Any help would be appreciated. Thanks, Ramana.