Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0-ALPHA
-
None
-
New, Patch Available
Description
in LUCENE-2426, the sort order was changed to codepoint order.
unfortunately, Term is still using string internally, and more importantly its compareTo() uses the wrong order [utf-16].
So MultiTermQuery, etc (especially its priority queues) are currently wrong.
By changing Term to use bytes, we can also support terms encoded as bytes such as numerics, instead of using
strange string encodings.
Attachments
Attachments
Issue Links
- is depended upon by
-
LUCENE-2364 Add support for terms in BytesRef format to Term, TermQuery, TermRangeQuery & Co.
- Closed
-
LUCENE-2551 change jdk & icu collation to use byte[]
- Closed