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>
args, luceneMatchVersion
Constructor and Description |
---|
HTMLStripCharFilterFactory() |
Modifier and Type | Method and Description |
---|---|
HTMLStripCharFilter |
create(Reader input)
Wraps the given Reader with a CharFilter.
|
void |
init(Map<String,String> args)
Initialize this factory via a set of key-value pairs.
|
availableCharFilters, forName, lookupClass, reloadCharFilters
assureMatchVersion, getArgs, getBoolean, getBoolean, getInt, getInt, getInt, getLines, getLuceneMatchVersion, getPattern, getSnowballWordSet, getWordSet, setLuceneMatchVersion, splitFileNames
public HTMLStripCharFilter create(Reader input)
CharFilterFactory
create
in class CharFilterFactory
public void init(Map<String,String> args)
AbstractAnalysisFactory
init
in class AbstractAnalysisFactory
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.