lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darniz <rnizamud...@edmunds.com>
Subject solr.StopFilterFactory not filtering words
Date Tue, 25 Aug 2009 00:58:28 GMT

HI
i dont understand whats wrong here.
i am trying to implement solr.StopFilterFactory
here is my field type definition
    <fieldtype name="teststop" class="solr.TextField"> 
        <analyzer type="index"> 
            <tokenizer class="solr.LowerCaseTokenizerFactory"/> 
                <filter class="solr.StopFilterFactory" words="stopwords.txt"
ignoreCase="true"/> 
        </analyzer>
    </fieldtype> 

and i have field which is
   <field name="onlynoun" type="teststop" indexed="true" stored="true"
required="false"/> 

when i try to insert a doc like
<field name="onlynoun">an elphant is an animal</field>
it does not remove an and is from the phrase.

Any idea why 

Thanks
-- 
View this message in context: http://www.nabble.com/solr.StopFilterFactory-not-filtering-words-tp25123903p25123903.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message