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.

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.
>

Reply via email to