lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-2735) cache LuceneFieldType in SchemaField
Date Mon, 29 Aug 2011 20:07:39 GMT


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:
>             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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message