[ 
https://issues.apache.org/jira/browse/SOLR-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708577#comment-13708577
 ] 

Jack Krupansky commented on SOLR-4894:
--------------------------------------

bq. support specifying fieldType alongside with field name

Could you elaborate and provide an example?

The new "parse" update processors can be used to give values a desired Java 
type, and then this Add Schema Fields update processor can map specific Java 
value types (optionally constrained by field names or field name regex 
patterns) to specific Solr field type names. So, what exactly is still missing?
                
> 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
>             Fix For: 5.0, 4.4
>
>         Attachments: SOLR-4894.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to