Hi, I am trying to load one of the file in conf directory in SOLR, using below code.
return new HashSet<String>(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, It is looking at the below locations to load the file: ...solr\example\solr\conf\stopwords.txt ...solr\example\stopwords.txt But as the file was not there in any of above location...it failed. How to load the files in the default conf directory using SolrResourceLoader API ? I am newbie to SOLR. Any help would be appreciated. Thanks, Ramana.