lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1221) DocumentsWriter truncates term text at \uFFFF
Date Tue, 11 Mar 2008 19:08:46 GMT

    [ 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


Mime
View raw message