lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2396) add [ICU]CollationField
Date Sat, 26 Mar 2011 15:36:05 GMT

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

Robert Muir commented on SOLR-2396:
-----------------------------------

I'd like to commit this in a few days if no one objects. The existing encoding is wasteful
and I would like to cut solr over to this more efficient one (and enable locale-sensitive
range queries).

We could open future issues for any additional features such as specifying the icu locale
as BCP47, etc, etc. (this just implements the lucene 3.1 functionality more efficiently) 


> add [ICU]CollationField
> -----------------------
>
>                 Key: SOLR-2396
>                 URL: https://issues.apache.org/jira/browse/SOLR-2396
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Robert Muir
>            Assignee: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message