lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <>
Subject [jira] Updated: (LUCENE-2310) Reduce Fieldable, AbstractField and Field complexity
Date Sat, 13 Mar 2010 17:26:27 GMT


Chris Male updated LUCENE-2310:

    Attachment: LUCENE-2310-Deprecate-AbstractField.patch

Attaching first version of the patch which deprecates AbstractField.

- Moves the properties and getters/setters down into Field.
- Field now only implements Fieldable
- Field now allows its value to be set to null through its construction.  This allows subclasses
to set the fieldData to their own 
- NumericField now extends Field, overridding the setValue methods as they are not supported
- LazyField also now extends Field
- AbstractField is now no longer used anywhere.

> Reduce Fieldable, AbstractField and Field complexity
> ----------------------------------------------------
>                 Key: LUCENE-2310
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Sub-task
>          Components: Index
>            Reporter: Chris Male
>         Attachments: LUCENE-2310-Deprecate-AbstractField.patch
> In order to move field type like functionality into its own class, we really need to
try to tackle the hierarchy of Fieldable, AbstractField and Field.  Currently AbstractField
depends on Field, and does not provide much more functionality that storing fields, most of
which are being moved over to FieldType.  Therefore it seems ideal to try to deprecate AbstractField
(and possible Fieldable), moving much of the functionality into Field and FieldType.

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:
For additional commands, e-mail:

View raw message