public final class HTMLStripFieldUpdateProcessorFactory extends FieldMutatingUpdateProcessorFactory
By default this processor matches no fields
For example, with the configuration listed below any documents
containing HTML markup in any field declared in the schema using
StrField
will have that HTML striped away.
<processor class="solr.HTMLStripFieldUpdateProcessorFactory"> <str name="typeClass">solr.StrField</str> </processor>
FieldMutatingUpdateProcessorFactory.SelectorParams
UpdateRequestProcessorFactory.RunAlways
Constructor and Description |
---|
HTMLStripFieldUpdateProcessorFactory() |
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) |
getSelector, inform, init, parseSelectorExclusionParams, parseSelectorParams
public HTMLStripFieldUpdateProcessorFactory()
public FieldMutatingUpdateProcessor.FieldNameSelector getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessorFactory
getDefaultSelector
in class FieldMutatingUpdateProcessorFactory
FieldMutatingUpdateProcessor.SELECT_ALL_FIELDS
public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
getInstance
in class UpdateRequestProcessorFactory
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.