> What is the meaning of "the Unicode Policeman" ?
Robert Muir :-)
Uwe
> Thanks,
> Ahmet
>
> On Thursday, October 22, 2015 2:59 PM, Uwe Schindler
> wrote:
>
>
>
> Hi,
>
>
> > >> Setting aside the fact that Character.toLowerCase is already
> > >> dubious in some locales (e.g. Turkish),
> >
Hi Uwe,
What is the meaning of "the Unicode Policeman" ?
Thanks,
Ahmet
On Thursday, October 22, 2015 2:59 PM, Uwe Schindler wrote:
Hi,
> >> Setting aside the fact that Character.toLowerCase is already dubious
> >> in some locales (e.g. Turkish),
> >
> > This is not true. Character.toLower
Hi,
> >> Setting aside the fact that Character.toLowerCase is already dubious
> >> in some locales (e.g. Turkish),
> >
> > This is not true. Character.toLowerCase() works locale-independent.
> > It is only String.toLowerCase that works using default locale.
So you mean the opposite. You wanted t
> LowerCaseFilter will not handle that. So whereas it is "safe" for
> English hard-coded strings, it isn't safe for all fields you might
> index in general.
This filter is a "safe" fallback that works identically regardless of
the locale you
have on your computer (or on the server). This, I believ
On Thu, Oct 22, 2015 at 7:05 PM, Uwe Schindler wrote:
> Hi,
>
>> Setting aside the fact that Character.toLowerCase is already dubious in some
>> locales (e.g. Turkish),
>
> This is not true. Character.toLowerCase() works locale-independent.
> It is only String.toLowerCase that works using default
locale.
>>
>> Uwe
>>
>> -
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: u...@thetaphi.de
>>
>>
>> > -Original Message-
>> > From: Trejkaz [mailto:tr
er-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
>
> > -Original Message-
> > From: Trejkaz [mailto:trej...@trypticon.org]
> > Sent: Thursday, October 22, 2015 7:15 AM
> > To: Lucene Users Mailing List
> >
63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Trejkaz [mailto:trej...@trypticon.org]
> Sent: Thursday, October 22, 2015 7:15 AM
> To: Lucene Users Mailing List
> Subject: Dubious stuff spotted in LowerCaseFilter
>
> Hi all
Hi all.
LowerCaseFilter uses CharacterUtils.toLowerCase to perform its work.
The latter method looks like this:
public final void toLowerCase(final char[] buffer, final int offset,
final int limit) {
assert buffer.length >= limit;
assert offset <=0 && offset <= buffer.length;
for (int i = o