Thank you for the inputs Jorge. Now i am getting the ResourceLoader using
SolrCore API.
Before:
return new HashSet(new SolrResourceLoader(null).
getLines("stopwords.txt"));
After:
return new HashSet(core.getResourceLoader().getLines(
"stopwords.txt"));
I am able to load the resource successfull
What are you developing a custom search component? update processor? a
different class for one of the zillion moving parts of Solr?
If you have access to a SolrCore instance you could use it to get access of,
essentially using the SolrCore instance specific to the current core will cause
the l
Hi,
I am trying to load one of the file in conf directory in SOLR, using below
code.
return new HashSet(new
SolrResourceLoader(null).getLines("stopwords.txt"));
The "stopwords.txt" file is available in the location
"solr\example\solr\collection1\conf".
When i debugged the SolrResourceLoader API