Re: Accent insensitive search for greek characters

2017-10-25 Thread Chitra
Hi Robert, Thank you so much for the kind response and seems it's working fine... Could you please ensure whether the below one restricts to the greek region alone? UnicodeSet unicodeSet = new UnicodeSet().applyPattern("[:Greek:]"); Normalizer2 base = Normalizer2.getInstance(I

Re: Accent insensitive search for greek characters

2017-10-24 Thread Robert Muir
Your greek transform stuff does not work because you use "Lower" instead of casefolding. If ICUFoldingFilter works for what you want, but you want to restrict it to greek, then just restrict it to the greek region. See FilteredNormalizer2 and UnicodeSet documentation. And look at how ICUFoldingFil

Re: Accent insensitive search for greek characters

2017-10-24 Thread Chitra
Hi, ICUTransformFilter is working fine for greek characters alone as per requirement. but one case it's breaking( σ & ς are the lower forms of Σ Sigma). *Example:* I indexed the terms πελάτης (indexed as πελατης) & πελάτηΣ (indexed as πελατης).I get the expected search results

Re: Accent insensitive search for greek characters

2017-10-16 Thread Chitra
Hi all, Any help would be greatly appreciated. -- Regards, Chitra

Re: Accent insensitive search for greek characters

2017-10-06 Thread Chitra
Hi koji, I am not having knowledge of greek characters. so only I am looking for standard rules to perform greek accent insensitive search. Does ICUFoldingFilter solve my case? I have tried this already. Its working fine for greek accent characters. But this is not language specific...

Re: Accent insensitive search for greek characters

2017-09-27 Thread Koji Sekiguchi
Hi Chitra, Without having the knowledge of the language, but can you solve the problem not in TokenFilter level but in CharFilter level, by setting your own mapping definition using MappingCharFilter? Koji On 2017/09/27 21:39, Chitra wrote: Hi Ahmet, Thank you so much

Re: Accent insensitive search for greek characters

2017-09-27 Thread Mike Sokolov
These are only used in classical Greek I think, explaining probably why they are not covered by the simpler filter. On September 27, 2017 9:48:37 AM EDT, Ahmet Arslan wrote: >I may be wrong about ASCIIFoldingFilter. Please go with the >ICUFoldingFilter. >Ahmet >On Wednesday, September 27, 2017,

Re: Accent insensitive search for greek characters

2017-09-27 Thread Ahmet Arslan
I may be wrong about ASCIIFoldingFilter. Please go with the ICUFoldingFilter. Ahmet On Wednesday, September 27, 2017, 3:47:01 PM GMT+3, Chitra wrote: Hi Ahmet,                      Thank you so much for the reply. I have tried but it seems, ASCIIFoldingFilter is not supporting greek ac

Re: Accent insensitive search for greek characters

2017-09-27 Thread Chitra
Hi Ahmet, Thank you so much for the reply. I have tried but it seems, ASCIIFoldingFilter is not supporting greek accent characters and it supports only Latin like accent characters. Am I missing anything? Chitra On Wed, Sep 27, 2017 at 5:47 PM, Ahmet Arslan wrote: >

Re: Accent insensitive search for greek characters

2017-09-27 Thread Ahmet Arslan
Hi, Yes ICUFoldingFilter or ASCIIFoldingFilter could be used. ahmet  On Wednesday, September 27, 2017, 1:54:43 PM GMT+3, Chitra wrote: Hi,                 In Lucene, I want to search greek characters(with accent insensitive) by removing or replacing accent marks with similar charact

Accent insensitive search for greek characters

2017-09-27 Thread Chitra
Hi, In Lucene, I want to search greek characters(with accent insensitive) by removing or replacing accent marks with similar characters. Example: we are trying to convert Greek Extended characters to basic Greek Unicode