You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by can alpar <ca...@gmail.com> on 2009/11/12 09:04:39 UTC

Turkish Characters

Hello everyone,

I want to add turkish character support solr. For example when i make a
query with letter 'c' i want to to get result having 'c' and Turkish
character 'ç' and vice versa. How can i do that. Do you have any opinion.

Thanks,
Can

Re: Turkish Characters

Posted by AHMET ARSLAN <io...@yahoo.com>.
> I want to add turkish character support solr. For example
> when i make a
> query with letter 'c' i want to to get result having 'c'
> and Turkish
> character 'ç' and vice versa. How can i do that. Do you
> have any opinion.

You can replace Turkish characters (ç) with their ascii versions (c) with a charFilter before tokenizer:

<charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ISOLatin1Accent.txt"/>

I am not sure if all of them exists, but mapping-ISOLatin1Accent.txt file already contains many characters in Turkish.