Hi,

I have replaced the English stopwords with Dutch stopwords. And I also
managed to get the dutch analyzer to work, without throwing an error. The
following works:

   <fieldtype name="nametext" class="solr.TextField">
     <analyzer class="org.apache.lucene.analysis.nl.DutchAnalyzer"/>
   </fieldtype>

But why doesn't the following work

   <fieldtype name="nametext" class="solr.TextField">
     <analyzer>
       <tokenizer class="solr.StandardTokenizerFactory"/>
       <filter class="solr.StandardFilterFactory"/>
       <filter class="solr.LowerCaseFilterFactory"/>
       <filter class="solr.StopFilterFactory" words="stopwords.txt"/>
       <analyzer class="org.apache.lucene.analysis.nl.DutchAnalyzer"/>
     </analyzer>
   </fieldtype>

The problem is that the Dutch Analyzer doesn't filter all the stopwords, so
I made an extended one. But the above configuration doesn't work. How can I
make it work. Hope somebody can help me out.

Kind regards,

Nick

Reply via email to