lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stromnov <strom...@gmail.com>
Subject Stemmer bug?
Date Tue, 10 Jul 2007 07:32:30 GMT

Working config (with proper russian stemming):

    <fieldType name="text" class="solr.TextField">
      <analyzer type="index"
class="org.apache.lucene.analysis.ru.RussianAnalyzer"></analyzer>
      <analyzer type="query"
class="org.apache.lucene.analysis.ru.RussianAnalyzer"></analyzer>
    </fieldType>


Non-working config (no russian stemming):

<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
      <analyzer type="index">
        <tokenizer class="solr.HTMLStripStandardTokenizerFactory" />
        <filter class="solr.LowerCaseFilterFactory" />
        <filter class="solr.SnowballPorterFilterFactory" language="Russian"
/>
      </analyzer>
      <analyzer type="query"
class="org.apache.lucene.analysis.ru.RussianAnalyzer">
        <tokenizer class="solr.WhitespaceTokenizerFactory" />
        <filter class="solr.LowerCaseFilterFactory" />
        <filter class="solr.SnowballPorterFilterFactory" language="Russian"
/>
      </analyzer>
    </fieldType>

-- 
View this message in context: http://www.nabble.com/Problem-with-Russian-stemmer-in-Solr-1.2-tf4049948.html#a11516099
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message