You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2008/03/31 15:26:24 UTC
[jira] Assigned: (LUCENE-1241) 0xffff char is not a string
terminator
[ https://issues.apache.org/jira/browse/LUCENE-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless reassigned LUCENE-1241:
------------------------------------------
Assignee: Michael McCandless
> 0xffff char is not a string terminator
> --------------------------------------
>
> Key: LUCENE-1241
> URL: https://issues.apache.org/jira/browse/LUCENE-1241
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: Hiroaki Kawai
> Assignee: Michael McCandless
> Attachments: ComparableCharSequence.java, LUCENE-1241.patch, LUCENE-1241.take2.patch
>
>
> Current trunk index.DocumentWriter uses "\uffff" as a string terminator, but it should not to be for some reasons. \uffff is not a terminator char itself and we can't handle a string that really contains \uffff. And also, we can calculate the end char position in a character sequence from the string length that we already know.
> However, I agree with the usage for assertion, that "\uffff" is placed after at the end of a string in a char sequence.
--
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org