Are you sure solr.StrField is the way to go with this? solr.StrField stores the 
entire text verbatim and I am pretty sure skips any analysis. Perhaps you 
should use solr.TextField instead.

François

On Jun 2, 2011, at 2:28 AM, deniz wrote:

> Hi all,
> 
> here is a piece from my solfconfig:   
> 
> <fieldType name="string" class="solr.StrField" sortMissingLast="true"
> omitNorms="true">
>    <analyzer type="query">
>            <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
> ignoreCase="true" expand="true"/>
>  </analyzer>
>    </fieldType>
> 
> 
> but somehow synonyms are not read... I mean there is no match when i use a
> word in the synonym file... any ideas?
> 
> -----
> Zeki ama calismiyor... Calissa yapar...
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/synonyms-problem-tp3014006p3014006.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to