Hi Surender,

Please go through Stemmer documentation which will give you idea on how
stemmer works.

I see below issues in configured field types,
1. You have added porter stemmer awa english minimal stemmer also. You can
remove one of those based on your requirement. Minimal stemmer is
conservative and removes mainly plural endings.

2. KeywordMarkerFilterFactory Protects words from being modified by
stemmers. Any words in the protected word list will not be modified by any
stemmer in Solr. So it should be added before stemmer.


You can try,

     <fieldType name="text_classic" class="solr.TextField"
positionIncrementGap="100">
      <analyzer>
        <tokenizer class="solr.ClassicTokenizerFactory"/>
                 <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt"/>
        <filter class="solr.WordDelimiterFilterFactory"
generateWordParts="1" generateNumberParts="1" catenateWords="1"
catenateNumbers="1" catenateAll="1" splitOnCaseChange="1"
stemEnglishPossessive="1"/>
        <filter class="solr.KeywordMarkerFilterFactory"
protected="protwords.txt"/>
        <filter class="solr.EnglishMinimalStemFilterFactory"/>
                <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </analyzer>
    </fieldType>



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Searching-Home-s-Homes-and-Home-tp4286341p4286902.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to