[ 
https://issues.apache.org/jira/browse/SOLR-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009627#comment-13009627
 ] 

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: https://issues.apache.org/jira/browse/SOLR-2396
>             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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to