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 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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org