lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (LUCENE-2019) map unicode process-internal codepoints to replacement character
Date Thu, 29 Oct 2009 21:35:59 GMT


Robert Muir updated LUCENE-2019:

    Attachment: LUCENE-2019.patch

here is a prototype patch.
because U+DFFE and U+DFFF are process-internal for all planes, the surrogate case is easy
(just treat these process-internal points in the unpaired surrogates codepath)

for the additional bmp chars, they happen to be > UNI_SUR_HIGH_START, so again it shouldnt
be in the main branch.

Mike, if you have a moment maybe check this out, if its ok ill fix formatting and add tests.

> map unicode process-internal codepoints to replacement character
> ----------------------------------------------------------------
>                 Key: LUCENE-2019
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Robert Muir
>            Priority: Minor
>         Attachments: LUCENE-2019.patch
> A spinoff from LUCENE-2016.
> There are several process-internal codepoints in unicode, we should not store these in
the index.
> Instead they should be mapped to replacement character (U+FFFD), so they can be used
> An example of this is how Lucene Java currently uses U+FFFF process-internally, it can't
be in the index or will cause problems. 

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:
For additional commands, e-mail:

View raw message