Class HTMLStripFieldUpdateProcessorFactory

  • All Implemented Interfaces:
    NamedListInitializedPlugin, SolrCoreAware

    public final class HTMLStripFieldUpdateProcessorFactory
    extends FieldMutatingUpdateProcessorFactory
    Strips all HTML Markup in any CharSequence values found in fields matching the specified conditions.

    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>
    Since:
    4.0.0