[
https://issues.apache.org/jira/browse/SOLR-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093147#comment-13093147
]
Yonik Seeley commented on SOLR-2735:
------------------------------------
bq. Or maybe Solr's FT could extend Lucene's?
I dont' think that would buy us anything since Solr's SchemaField can (and
normally do) change a whole bunch of properties like indexed, stored,
omitNorms, etc. It really needs to be linked to the SchemaField and not the
(Solr)FieldType
> cache LuceneFieldType in SchemaField
> ------------------------------------
>
> Key: SOLR-2735
> URL: https://issues.apache.org/jira/browse/SOLR-2735
> Project: Solr
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Priority: Minor
>
> Lucene added a reusable FieldType (which I'll call LFT since Solr's FieldType
> has been around since inception). Ironically this has led to Solr going
> backwards and creating more objects since FieldType.createField() now creates
> the LFT every time. We should create it once and keep it in SchemaField, or
> perhaps even have SchemaField implement LFT.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]