Hello,

this is my first time writing at this mailing lost, so hello everyone.

I am having issues with synonyms.

I added the synonym to one of my field types:

|<fieldType  name="text_general"  class="solr.TextField"  
positionIncrementGap="100">
      <analyzer  type="index">
        <tokenizer  class="solr.StandardTokenizerFactory"/>
        <filter  class="solr.StopFilterFactory"  ignoreCase="true"  words="stopwords.txt"  
enablePositionIncrements="true"/>
        <filter  class="solr.LowerCaseFilterFactory"/>
        <filter  class="solr.SynonymFilterFactory"  synonyms="synonyms.txt"  
ignoreCase="true"  expand="true"/>
        <filter  class="solr.NGramFilterFactory"  minGramSize="1"  
maxGramSize="15"/>
      </analyzer>
      <analyzer  type="query">
        <tokenizer  class="solr.StandardTokenizerFactory"/>
        <filter  class="solr.StopFilterFactory"  ignoreCase="true"  words="stopwords.txt"  
enablePositionIncrements="true"/>
        <filter  class="solr.LowerCaseFilterFactory"/>
      </analyzer>
    </fieldType>


I also added some Synonyms to my Synonyms.txt which is in the conf folder of my 
core.

However, when i look into the analyzer, the content wont be replaced and I cant 
figure out where the problem lies.

Can anybody help here? Im totally stuck...
|


Reply via email to