[ https://issues.apache.org/jira/browse/LUCENE-2514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-2514: -------------------------------- Attachment: LUCENE-2514.patch attached is an updated patch. Its ready to go, I plan on committing soon. Unrelated: i wrote a nasty random test for the SlowCollation stuff, but it fails if you get an executor service (some unrelated synchronization thing). This is some existing problem, I'll open another issue for this. > Change Term to use bytes > ------------------------ > > Key: LUCENE-2514 > URL: https://issues.apache.org/jira/browse/LUCENE-2514 > Project: Lucene - Java > Issue Type: Task > Components: Search > Affects Versions: 4.0 > Reporter: Robert Muir > Assignee: Robert Muir > Attachments: LUCENE-2514-MTQPagedBytes.patch, > LUCENE-2514-MTQPagedBytes.patch, LUCENE-2514-MTQPagedBytes.patch, > LUCENE-2514-surrogates-dance.patch, LUCENE-2514.patch, LUCENE-2514.patch, > LUCENE-2514.patch, LUCENE-2514.patch, LUCENE-2514.patch, LUCENE-2514.patch, > LUCENE-2514.patch, LUCENE-2514.patch, LUCENE-2514.patch, LUCENE-2514.patch, > LUCENE-2514.patch, LUCENE-2514.patch, LUCENE-2514.patch, LUCENE-2514.patch, > LUCENE-2514.patch, LUCENE-2514_collatedrange.patch, > LUCENE-2514_collatedrange.patch, LUCENE-2514_collatedrange.patch, > LUCENE-2514_qp.patch > > > 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. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org