[ 
https://issues.apache.org/jira/browse/LUCENE-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908956#action_12908956
 ] 

Robert Muir commented on LUCENE-2504:
-------------------------------------

bq. Yep, should be fine. Is there an upper bound on how long collated terms can 
be?

There isn't, but...

I can't promise (but i'll verify), i think actually a single 0xff might do, for 
the major encodings.

* its invalid in utf-8
* its technically valid, but unused (reset byte) in bocu-1
* collation keys i understand are a modified bocu, likely unused there too.

so its like a NaN sentinel, if someone is doing something very wierd, maybe it 
wont work,
but in general, i think it will work. ill check.


> sorting performance regression
> ------------------------------
>
>                 Key: LUCENE-2504
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2504
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: LUCENE-2504.patch, LUCENE-2504.patch, LUCENE-2504.zip
>
>
> sorting can be much slower on trunk than branch_3x

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to