[ http://issues.apache.org/jira/browse/LUCENE-609?page=all ]
Yonik Seeley updated LUCENE-609:
--------------------------------
Attachment: fieldable_patch.diff
OK, here's the quick'n'dirty version that passes lucene unit tests.
- The new getFieldable methods can be considered temporary until we decide if that's really
the best way to provide access to the new functionallity.
- At least some of the Fieldable instances in all of the unit tests should be reverted back
to Field so we get some test coverage (that is what everyone still uses).
> Lazy field loading breaks backward compat
> -----------------------------------------
>
> Key: LUCENE-609
> URL: http://issues.apache.org/jira/browse/LUCENE-609
> Project: Lucene - Java
> Type: Bug
> Components: Other
> Versions: 2.0.1
> Reporter: Yonik Seeley
> Fix For: 2.0.1
> Attachments: fieldable_patch.diff
>
> 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");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
|