[ https://issues.apache.org/jira/browse/SOLR-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708899#comment-13708899 ]
Mikhail Khludnev commented on SOLR-4894: ---------------------------------------- [~jkrupan] I'm aiming something different than modeling java types. What we have now with dynamic fields cloth_COLOR, shoe_COLOR, wristlet_COLOR. I prefer to don't bother with dynamic field wildcard, but just send: {wristlet:red, type:COLOR}, {shoe:brown, type:COLOR }, etc > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org