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

[jira] [Updated] (SOLR-4894) Add a new update processor factory that will dynamically add fields to the schema if an input document contains unknown fields

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

Steve Rowe updated SOLR-4894:
-----------------------------

    Description: 
Previous {{ParseFooUpdateProcessorFactory}}-s (see SOLR-4892) in the same chain will detect, parse and convert unknown fields’ {{String}}-typed values to the appropriate Java object type.

This factory will take as configuration a set of mappings from Java object type to schema field type.

{{ManagedIndexSchema.addFields()}} adds new fields to the schema.

If schema addition fails for any field, addition is re-attempted only for those that don’t match any schema field.  This process is repeated, either until all new fields are successfully added, or until there are no new fields (because the fields that were new when this update chain started its work were subsequently added by a different update request, possibly on a different node).


  was:Add a new AddSchemaFieldsUpdateProcessorFactory, with configurable mappings from Java object type to schema field type, that will dynamically add fields to the schema, as needed.

    
> Add a new update processor factory that will dynamically add fields to the schema if an input document contains unknown fields
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4894
>                 URL: https://issues.apache.org/jira/browse/SOLR-4894
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>            Priority: Minor
>
> Previous {{ParseFooUpdateProcessorFactory}}-s (see SOLR-4892) in the same chain will detect, parse and convert unknown fields’ {{String}}-typed values to the appropriate Java object type.
> This factory will take as configuration a set of mappings from Java object type to schema field type.
> {{ManagedIndexSchema.addFields()}} adds new fields to the schema.
> If schema addition fails for any field, addition is re-attempted only for those that don’t match any schema field.  This process is repeated, either until all new fields are successfully added, or until there are no new fields (because the fields that were new when this update chain started its work were subsequently added by a different update request, possibly on a different node).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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