Hi all,

i'm working with SOLR and i have an italian language documents set.

I have a question about using the  "protected=" attribute with
SnowballPorterFilterFactory filter.

Here's my schema.xml

        <fieldtype name="text" class="solr.TextField"
positionIncrementGap="100">
            <analyzer type="index">
                <tokenizer class="solr.WhitespaceTokenizerFactory"/>
                                <filter 
class="solr.ISOLatin1AccentFilterFactory"/>
                <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stop_italiano.txt"/>
                <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="1" generateNumberParts="1" catenateWords="1"
catenateNumbers="1" catenateAll="0"/>
                <filter class="solr.LowerCaseFilterFactory"/>
                 <!--<filter class="solr.EnglishPorterFilterFactory"
protected="protwords.txt"/>   -->
                                <filter class="solr.SnowballPorterFilterFactory"
protected="protwords.txt" language="Italian"/>
                <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
            </analyzer>
            <analyzer type="query">
                <tokenizer class="solr.WhitespaceTokenizerFactory"/>
                                <filter 
class="solr.ISOLatin1AccentFilterFactory"/>
                <filter class="solr.SynonymFilterFactory"
synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
                <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stop_italiano.txt"/>
                <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="1" generateNumberParts="1" catenateWords="0"
catenateNumbers="0" catenateAll="0"/>
                <filter class="solr.LowerCaseFilterFactory"/>
               <!--  <filter class="solr.EnglishPorterFilterFactory"
protected="protwords.txt"/>   -->
                                <filter class="solr.SnowballPorterFilterFactory"
protected="protwords.txt" language="Italian"/>
                <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
            </analyzer>
        </fieldtype>

Is it possible to use the protected words with SnowballPorterFilterFactory?

Seems like it's working fine only with EnglishPorterFilterFactory.

Thanks

Daniele


-- 
View this message in context: 
http://www.nabble.com/SnowballPorterFilterFactory-and-protected-words-tp15042758p15042758.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to