[ 
https://issues.apache.org/jira/browse/SOLR-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrzej Bialecki  updated SOLR-398:
-----------------------------------

    Attachment: fieldable.patch

Patch updated to current trunk. One concrete use case where this is needed is 
Fieldable implementations that provide different values of tokenStreamValue() 
and stringValue(), e.g. when using external tools to provide a pre-tokenized 
value of the field.

> 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
>             Fix For: 1.5
>
>         Attachments: 1.2-FieldType-2.patch, fieldable.patch, 
> trunk-FieldType-3.patch, trunk-FieldType-4.patch, trunk-FieldType-5.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.

Reply via email to