Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 44246 invoked from network); 11 Mar 2008 19:10:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2008 19:10:19 -0000 Received: (qmail 38129 invoked by uid 500); 11 Mar 2008 19:10:15 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 37476 invoked by uid 500); 11 Mar 2008 19:10:14 -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 37465 invoked by uid 99); 11 Mar 2008 19:10:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 12:10:14 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Tue, 11 Mar 2008 19:09:45 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D2CBB234C098 for ; Tue, 11 Mar 2008 12:08:46 -0700 (PDT) Message-ID: <328124228.1205262526862.JavaMail.jira@brutus> Date: Tue, 11 Mar 2008 12:08:46 -0700 (PDT) From: "Yonik Seeley (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1221) DocumentsWriter truncates term text at \uFFFF In-Reply-To: <1853661605.1205253166412.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577563#action_12577563 ] Yonik Seeley commented on LUCENE-1221: -------------------------------------- If there is a real character that doesn't appear in a property name, it would be much safer to use that. Using non-unicode chars or reserved chars is pretty dicey since you never know what methods might throw an exception because of it. > DocumentsWriter truncates term text at \uFFFF > --------------------------------------------- > > Key: LUCENE-1221 > URL: https://issues.apache.org/jira/browse/LUCENE-1221 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Affects Versions: 2.3, 2.3.1 > Reporter: Marcel Reutegger > Priority: Minor > Attachments: OddTermTest.java > > > When a Term text contains the unicode 'character' \uFFFF, DocumentsWriter will truncate the text and only write the text up to the \uFFFF character. > This has been introduces with changes for LUCENE-843 to reduce memory usage and improve performance. > This change in behavior prevents us (Jackrabbit) from upgrading to Lucene 2.3. -- 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