On Tue, Sep 8, 2009 at 9:56 PM, Grant Ingersoll <gsing...@apache.org> wrote:
> > On Sep 8, 2009, at 5:11 AM, Wang Guangchen wrote: > > Hi Staszek, >> >> I try to apply the stoplabels with the instructions that you given in the >> solr clustering Wiki. But it didn't work. >> >> I am runing the patched solr on tomcat. So to enable the stop label. I add >> "-cp <dir-with-your-modified-stopwords>" in to my system's CATALINA_OPTS. >> I >> tried to change the file name from stoplabels.txt to stoplabel.en also . >> It >> didn't work too. >> > > > Does it work if you add them to the Solr Home lib directory, which is where > the other clustering files get loaded from? I haven't tried it. > Hi, Thanks for your suggestions, but I put the stoplabels.en file into the solr home lib direcotry , it didn't work also. I tried botht he solr's lib directory and also the "../webapp/solr/WEB-INF/lib/". > > >> Then I also find out that in carrot manual page >> ( >> >> http://download.carrot2.org/head/manual/#section.advanced-topics.fine-tuning.stop-words >> ). >> It suggested to edit the stopwords files inside the carrot2-core.jar. I >> tried this but it didn't work too. >> >> I am not sure what is wrong with my set up. will it be caused by any sort >> of >> caching? Please help. >> Thanks in advance. >> >> -GC >> >> >> On Fri, Apr 24, 2009 at 4:31 PM, Stanislaw Osinski <stac...@gmail.com >> >wrote: >> >> >>>> How would we enable people via SOLR-769 to do this? >>>> >>> >>> >>> Good point, Grant! To apply the modified stopwords.* and stoplabels.* >>> files >>> to Solr, simply make them available in the classpath. For the example >>> Solr >>> runner scripts that would be something like: >>> >>> java -cp <dir-with-your-modified-stopwords> >>> -Dsolr.solr.home=./clustering/solr -jar start.jar >>> >>> I've documented the whole tuning procedure on the Wiki: >>> >>> http://wiki.apache.org/solr/ClusteringComponent >>> >>> Cheers, >>> >>> S. >>> >>> > -------------------------- > Grant Ingersoll > http://www.lucidimagination.com/ > > Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using > Solr/Lucene: > http://www.lucidimagination.com/search > >