lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1564) Field.setValue(...) doesn't properly handle switching between byte[] and other types
Date Sun, 15 Mar 2009 23:26:50 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless resolved LUCENE-1564.
----------------------------------------

    Resolution: Fixed

> Field.setValue(...) doesn't properly handle switching between byte[] and other types
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1564
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1564
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1564.patch
>
>
> This came up in PyLucene testing, based on Lucene 2.4.1.  Thread here:
>   http://pylucene.markmail.org/message/75jzxzqi3smp2s4z
> The problem is that Field.setValue does not fix up the isBinary
> boolean, so if you create a String field, and then do
> setValue(byte[]), you'll get an exception when adding a document
> containing that field to the index.

-- 
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