[Chandler-dev] Re: Index ordering and case sensitivity

Brian Kirsch bkirsch at osafoundation.org
Wed Nov 15 12:07:21 PST 2006


Hello,
I would have to defer to Andi on this one since my knowledge of  
PyLucene is limited.
I would hope there would be an easy solution in the Lucene API for  
dealing with case insensitive comparison and locales.

However, changing locales is a very infrequent activity and a  
performance hit during this operation would be acceptable if no other  
solution is available.

-Brian


On Nov 15, 2006, at 9:09 AM, Bryan Stearns wrote:

> In looking into bug 5718, I noticed that string comparison for  
> indexing is done without ignoring case.
>
> This probably isn't what users expect, but the fix for this isn't  
> simple: case-insensitive comparison is locale-sensitive, which  
> would indicate that we'd need to reindex when the user changes  
> locales, which could be expensive.
>
> Any ideas on how to deal with this problem?
>
> ...Bryan
>



More information about the chandler-dev mailing list