org.apache.lucene.analysis.charfilter

Class HTMLStripCharFilterFactory



  • public class HTMLStripCharFilterFactory
    extends CharFilterFactory
    Factory for HTMLStripCharFilter.
     <fieldType name="text_html" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <charFilter class="solr.HTMLStripCharFilterFactory" escapedTags="a, title" />
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
       </analyzer>
     </fieldType>