public class HTMLStripCharFilterFactory extends CharFilterFactory
HTMLStripCharFilter
.
<fieldType name="text_html" class="solr.TextField" positionIncrementGap="100"> <analyzer> <charFilter class="solr.HTMLStripCharFilterFactory" escapedTags="a, title" /> <tokenizer class="solr.WhitespaceTokenizerFactory"/> </analyzer> </fieldType>
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
HTMLStripCharFilterFactory(Map<String,String> args)
Creates a new HTMLStripCharFilterFactory
|
Modifier and Type | Method and Description |
---|---|
HTMLStripCharFilter |
create(Reader input)
Wraps the given Reader with a CharFilter.
|
availableCharFilters, forName, lookupClass, normalize, reloadCharFilters
get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitAt, splitFileNames
public HTMLStripCharFilter create(Reader input)
CharFilterFactory
create
in class CharFilterFactory
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.