Reputation: 3
I want to make a search system. I am using Lucene, it is like speedy gonzales. But I have a problem. When I use Turkish Character's(ç,ş,ü,ö,ı,) in my words, Lucene doesn't return any result. But when I use non-Turkish Character's in my word, Lucene returns result.
How can I solve this problem?
Upvotes: 0
Views: 437
Reputation: 425
You might want to look into FoldingFilter's and Analyzer's. Lucene may be converting non-ascii characters to ascii when saving them to the index.
Not sure what version of Lucene you are using, would probably help with figuring out what's up.
Upvotes: 1