Class IgnoreFieldUpdateProcessorFactory

  • All Implemented Interfaces:
    NamedListInitializedPlugin, SolrCoreAware

    public final class IgnoreFieldUpdateProcessorFactory
    extends FieldMutatingUpdateProcessorFactory
    Ignores & removes fields matching the specified conditions from any document being added to the index.

    By default, this processor ignores any field name which does not exist according to the schema

    For example, in the configuration below, any field name which would cause an error because it does not exist, or match a dynamicField, in the schema.xml would be silently removed from any added documents...

     <processor class="solr.IgnoreFieldUpdateProcessorFactory" />

    In this second example, any field name ending in "_raw" found in a document being added would be removed...

     <processor class="solr.IgnoreFieldUpdateProcessorFactory">
       <str name="fieldRegex">.*_raw</str>
     </processor>
    Since:
    4.0.0