: the schema.xml. It worked fine but in 4.0, I did the same thing (make
: a copy of example) but when I change the schema, I get following:
: 
: Apr 26, 2012 5:04:12 PM org.apache.solr.common.SolrException log
: SEVERE: null:java.lang.RuntimeException: Can't find resource
: 'stopwords_en.txt' in classpath or 'solr/./conf/',

you'll have to be more specific about what changes you made.

The current trunk example contains a "lang/stopwords_en.txt" file which is 
refrenced from the example schema.xml -- so depending on what changes 
you made, and wether or nor you copied the entire example/solr 
directory, you may or may not get errors...


hossman@bester:~/lucene/dev/solr/example$ find -name stopwords_en.txt
./solr/conf/lang/stopwords_en.txt
hossman@bester:~/lucene/dev/solr/example$ grep stopwords_en.txt 
solr/conf/schema.xml 
         (lang/stopwords_en.txt), down cases, protects words from 
protwords.txt, and
                words="lang/stopwords_en.txt"
                words="lang/stopwords_en.txt"
                words="lang/stopwords_en.txt"
                words="lang/stopwords_en.txt"
        <filter class="solr.StopFilterFactory" ignoreCase="true" 
words="lang/stopwords_en.txt"/>


-Hoss

Reply via email to