org.apache.solr.update.processor

Class TemplateUpdateProcessorFactory

  • All Implemented Interfaces:
    NamedListInitializedPlugin


    public class TemplateUpdateProcessorFactory
    extends SimpleUpdateProcessorFactory
    Adds new fields to documents based on a template pattern specified via Template.field request parameters (multi-valued) or 'field' value specified in initArgs.

    The format of the parameter is <field-name>:<the-template-string>, for example:
    Template.field=fname:${somefield}some_string${someotherfield}