[
https://issues.apache.org/jira/browse/LUCENE-8657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward resolved LUCENE-8657.
-----------------------------------
Resolution: Won't Fix
Undeprecation would be simpler, yes. I'll fold that into the work on
LUCENE-8638.
> CharsRef.compareTo() should always be in UTF-8 order
> ----------------------------------------------------
>
> Key: LUCENE-8657
> URL: https://issues.apache.org/jira/browse/LUCENE-8657
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Fix For: 8.0
>
> Attachments: LUCENE-8657.patch
>
>
> CharsRef.compareTo() currently directly compares byte values. However,
> everywhere that CharsRef objects are compared in the codebase instead uses
> the deprecated UTF16SortedAsUTF8Comparator static comparator. We should just
> reimplement compareTo() to use UTF-8 comparisons instead, and remove the
> deprecated methods.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]