[Dev] Index issues

Andi Vajda vajda at osafoundation.org
Tue Jan 24 14:59:57 PST 2006


On Tue, 24 Jan 2006, Brian Kirsch wrote:

> One issue to remember, if we are sorting on the name of the user i.e. Brian 
> Kirsch <bkirsch at osafoundation.org> then the sort order will need to be 
> localized with PyICU.

Last year, I added a new index class called StringIndex. It understands locale 
and uses PyICU's collator support for comparing strings.

Similarly, I realized recently that for full text indexing's sake, LOBs (at 
least, if not all attributes) should also have a locale aspect so that when 
full text indexing (and queries) are run, an analyzer that is appropriate for 
the language of the locale is used to break up the text (or queries) in 
tokens.

Andi..



More information about the Dev mailing list