Issue Details (XML | Word | Printable)

Key: LUCENE-609
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Yonik Seeley
Reporter: Yonik Seeley
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

Lazy field loading breaks backward compat

Created: 22/Jun/06 01:48 AM   Updated: 22/Jun/06 04:26 AM
Return to search
Component/s: Other
Affects Version/s: 2.1
Fix Version/s: 2.1

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works fieldable_patch.diff 2006-06-22 02:20 AM Yonik Seeley 6 kB

Resolution Date: 22/Jun/06 02:50 AM


 Description  « Hide
Document.getField() and Document.getFields() have changed in a non backward compatible manner.
Simple code like the following no longer compiles:
Field x = mydoc.getField("x");

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #416090 Wed Jun 21 19:49:27 UTC 2006 yonik revert Document.getFields for back compatibility: LUCENE-609
Files Changed
MODIFY /lucene/java/trunk/src/java/org/apache/lucene/document/Document.java
MODIFY /lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java
MODIFY /lucene/java/trunk/CHANGES.txt