|
[
Permlink
| « Hide
]
Michael McCandless added a comment - 14/Mar/08 11:07 AM
Thanks Stefan!
Michael McCandless made changes - 14/Mar/08 11:07 AM
Michael McCandless made changes - 11/Oct/08 12:49 PM
Hi, I know this comment is a bit too late, but I thought I'd make it anyway as I assume many people will be switching from Lucene 2.3 to 2.4 soon and may encounter this.
The issue is that while this API change will indeed simplify life for some writers of new code, it may cause some existing code to break unless fixed. For example, I have code which wanted to check whether or not there are any values to this field (e.g., to print a header before looping to show the values), and had the check doc.getFields(name)Unable to render embedded object: File (=null. This check no longer works and needs to be changed to ...length()) not found.=0. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||