[
https://issues.apache.org/jira/browse/SOLR-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Espen Amble Kolstad updated SOLR-398:
-------------------------------------
Attachment: 1.2-FieldType-2.patch
trunk-FieldType-2.patch
Sorry for the late reply! I've been on holiday.
I've given it another go where I've deprecated createField and added
createFieldable in both FieldType and SchemaField.
FieldType.createFieldable currently only calls createField to maintain
backwards compatability
Comments?
> Widen return type of FiledType.createField to Fieldable in order to maximize
> flexibility
> ----------------------------------------------------------------------------------------
>
> Key: SOLR-398
> URL: https://issues.apache.org/jira/browse/SOLR-398
> Project: Solr
> Issue Type: Improvement
> Components: update
> Affects Versions: 1.2, 1.3
> Reporter: Espen Amble Kolstad
> Priority: Minor
> Attachments: 1.2-FieldType-2.patch, 1.2-FieldType.patch,
> trunk-FieldType-2.patch, trunk-FieldType.patch
>
>
> FieldType.createField currently returns Field.
> In order to maximize flexibility for developers to extend Solr, it should
> return Fieldable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.