Re: Synonyms - 20th and 20

2014-06-19 Thread Erick Erickson
You almost certainly have WordDelimiterFilterFactory in your analysis
chain after the synonym insertion. It's _job_ is to split on
letter/non-letter transitions.

The admin/analysis page is your friend.

Best,
Erick

On Wed, Jun 18, 2014 at 12:47 PM, Diego Fernandez  wrote:
> What tokenizer and filters are you using?
>
> Diego Fernandez - 爱国
> Software Engineer
> US GSS Supportability - Diagnostics
>
>
> - Original Message -
>> I have a synonyms.txt file which has
>> 20th,twentieth
>>
>> Once I apply the synonym, I see "20th", "twentieth" and "20" for "20th".
>> Does anyone know where "20" comes from? How can I have only "20th" and
>> "twentieth"?
>>
>> Thanks,
>>
>> Jae
>>


Re: Synonyms - 20th and 20

2014-06-18 Thread Diego Fernandez
What tokenizer and filters are you using?

Diego Fernandez - 爱国
Software Engineer
US GSS Supportability - Diagnostics


- Original Message -
> I have a synonyms.txt file which has
> 20th,twentieth
> 
> Once I apply the synonym, I see "20th", "twentieth" and "20" for "20th".
> Does anyone know where "20" comes from? How can I have only "20th" and
> "twentieth"?
> 
> Thanks,
> 
> Jae
> 


Synonyms - 20th and 20

2014-06-18 Thread Jae Joo
I have a synonyms.txt file which has
20th,twentieth

Once I apply the synonym, I see "20th", "twentieth" and "20" for "20th".
Does anyone know where "20" comes from? How can I have only "20th" and
"twentieth"?

Thanks,

Jae