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.SelectorParamsUpdateRequestProcessorFactory.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, parseSelectorParamspublic UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
getInstance in class UpdateRequestProcessorFactorypublic FieldMutatingUpdateProcessor.FieldNameSelector getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessorFactorygetDefaultSelector in class FieldMutatingUpdateProcessorFactoryFieldMutatingUpdateProcessor.SELECT_ALL_FIELDSCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.