Ah.  It seems that the Caps in my synonyms file are throughing off the
matches, as I convert everything to lowercase BEFORE handing it off to solr. 
Ha... as I said, something obvious. :)

Thanks!

ben



bvandenbos wrote:
> 
> There isn't one.  I more or less copied it from 
> http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#head-2c461ac74b4ddd82e453dc68fcfc92da77358d46
> here 
> 
> 
> 
> Yonik Seeley wrote:
>> 
>> On 8/7/07, bvandenbos <[EMAIL PROTECTED]> wrote:
>>> I am running into a somewhat similar issue with Synonyms.  I'm trying to
>>> create a synonym filter for common first names (ie:
>>> chuck,charles,charlie).
>>>
>>> Here is a snippet from my schema.xml:
>>>
>>> <fieldtype name="firstname" class="solr.StrField">
>>>     <analyzer type="query">
>>>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>>>         <filter class="solr.SynonymFilterFactory"
>>> synonyms="/srv/solr/solr/conf/firstname_synonyms.txt" ignoreCase="true"
>>> expand="true"/>
>>>     </analyzer>
>>> </fieldtype>
>> 
>> What's the index analyzer for this field type?
>> 
>> -Yonik
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Configuring-Synonyms-tf4229295.html#a12040732
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to