lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toke Eskildsen (JIRA)" <>
Subject [jira] [Commented] (SOLR-2396) add [ICU]CollationField
Date Tue, 22 Mar 2011 12:39:05 GMT


Toke Eskildsen commented on SOLR-2396:

A rough idea: It seems that ICU Collator Keys are null-terminated. Would it be possible to
allow for a key that contained the original String? Something like [collator-bytes][null][term-as-utf-8]?
This embedding would make collator-ordered faceting with multiple terms/document much easier.

> add [ICU]CollationField
> -----------------------
>                 Key: SOLR-2396
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Robert Muir
>             Fix For: 4.0
>         Attachments: SOLR-2396.patch, SOLR-2396.patch, SOLR-2396.patch, SOLR-2396.patch
> In LUCENE-2551 collation support was changed to use byte[] keys.
> Previously it encoded sort keys with IndexableBinaryString into char[],
> but this is wasteful with regards to RAM and disk when terms can be byte.
> A better solution would be [ICU]CollationFieldTypes, as this would also allow locale-sensitive
range queries.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message