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 <difer...@redhat.com> 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
>>

Reply via email to