lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-8526) Reuse Lucene.FieldType instances
Date Fri, 08 Jan 2016 16:27:40 GMT

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message