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

Yonik Seeley updated SOLR-8526:
-------------------------------
    Description: 
When lucene created FieldType (not to be confused with Solr's FieldType), Solr 
was ported by simply creating a new lucene.FieldType instance for every field 
indexed (see solr.FieldType.createField())

To avoid creating every time, Solr's SchemaField (which is already analagous to 
lucene.FieldType) can simply implement that interface.

  was:
When lucene created FieldType (not to be confused with Solr's FieldType), Solr 
was ported by simply creating a new lucene.FieldType instance for every field 
indexed.

To avoid creating every time, Solr's SchemaField (which is already analagous to 
lucene.FieldType) can simply implement that interface.


> Reuse Lucene.FieldType instances
> --------------------------------
>
>                 Key: SOLR-8526
>                 URL: https://issues.apache.org/jira/browse/SOLR-8526
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>
> When lucene created FieldType (not to be confused with Solr's FieldType), 
> Solr was ported by simply creating a new lucene.FieldType instance for every 
> field indexed (see solr.FieldType.createField())
> To avoid creating every time, Solr's SchemaField (which is already analagous 
> to lucene.FieldType) can simply implement that interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to