Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 50435 invoked from network); 30 Oct 2009 23:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Oct 2009 23:18:22 -0000 Received: (qmail 80049 invoked by uid 500); 30 Oct 2009 23:18:22 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 79969 invoked by uid 500); 30 Oct 2009 23:18:22 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 79961 invoked by uid 99); 30 Oct 2009 23:18:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 23:18:21 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 23:18:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 62DB0234C045 for ; Fri, 30 Oct 2009 16:17:59 -0700 (PDT) Message-ID: <2106310675.1256944679390.JavaMail.jira@brutus> Date: Fri, 30 Oct 2009 23:17:59 +0000 (UTC) From: "Steven Rowe (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2019) map unicode process-internal codepoints to replacement character In-Reply-To: <1105014567.1256840399442.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772164#action_12772164 ] Steven Rowe commented on LUCENE-2019: ------------------------------------- Lucene is not an application. Again, quoting from section 16.7 (emphasis mine): bq. *Applications* are free to use any of these noncharacter code points internally but should never attempt to exchange them. The forbidden operation is exchanging non-characters across the *application* boundary. Asking Lucene to store non-characters for you is not a violation of the Unicode standard. Lucene agreeing to do so is not a violation of the Unicode standard. If a Lucene user later uses a Lucene index to exchange data (of whatever form) across the application boundary, that's on the user, not on Lucene. (I'll skip the Lucene-as-a-weapon metaphor. You can thank me later.) > map unicode process-internal codepoints to replacement character > ---------------------------------------------------------------- > > Key: LUCENE-2019 > URL: https://issues.apache.org/jira/browse/LUCENE-2019 > 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 process-internally. > 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org