You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 06:00:03 UTC

[jira] [Updated] (SOLR-2146) Custom SchemaField object

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

David Smiley updated SOLR-2146:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> Custom SchemaField object
> -------------------------
>
>                 Key: SOLR-2146
>                 URL: https://issues.apache.org/jira/browse/SOLR-2146
>             Project: Solr
>          Issue Type: New Feature
>          Components: Schema and Analysis
>            Reporter: Renaud Delbru
>            Priority: Minor
>             Fix For: 4.8
>
>
> There is some use cases that require to extend SchemaField objects with "attributes" or "properties".
> For example, I would like to be able to assign a specific "term mapping file" for each of my field. Each field name will have a "mapping file" associated that I can access at query time using the IndexSchema object.
> The FieldType object already enables the addition of attributes. However, these attributes are "local" to a field type, not a field definition. Multiple fields can have the same field types, which is not suitable for our use cases. 
> One possible solution will be to create one field type per field definition, but this is more a dirty hack: it means duplicating field types, making them more difficult to maintain.
> References to mailing list discussion:
> http://www.mail-archive.com/solr-user@lucene.apache.org/msg40436.html
> http://www.mail-archive.com/solr-user@lucene.apache.org/msg40585.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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