public final class IgnoreFieldUpdateProcessorFactory extends FieldMutatingUpdateProcessorFactory
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>
FieldMutatingUpdateProcessorFactory.SelectorParams
UpdateRequestProcessorFactory.RunAlways
Constructor and Description |
---|
IgnoreFieldUpdateProcessorFactory() |
Modifier and Type | Method and Description |
---|---|
FieldMutatingUpdateProcessor.FieldNameSelector |
getDefaultSelector(SolrCore core)
Defines the default selection behavior when the user has not
configured any specific criteria for selecting fields.
|
UpdateRequestProcessor |
getInstance(SolrQueryRequest req,
SolrQueryResponse rsp,
UpdateRequestProcessor next) |
getBooleanArg, getSelector, inform, init, oneOrMany, parseSelectorExclusionParams, parseSelectorParams
public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
getInstance
in class UpdateRequestProcessorFactory
public FieldMutatingUpdateProcessor.FieldNameSelector getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessorFactory
getDefaultSelector
in class FieldMutatingUpdateProcessorFactory
FieldMutatingUpdateProcessor.SELECT_ALL_FIELDS
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.