Class HTMLStripCharFilterFactory
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>
Inherited Members
Namespace: Lucene.Net.Analysis.CharFilters
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class HTMLStripCharFilterFactory : CharFilterFactory
Constructors
HTMLStripCharFilterFactory(IDictionary<string, string>)
Creates a new HTMLStripCharFilterFactory
Declaration
public HTMLStripCharFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
Methods
Create(TextReader)
Wraps the given TextReader with a Lucene.Net.Analysis.CharFilter.
Declaration
public override TextReader Create(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
TextReader | input |
Returns
Type | Description |
---|---|
TextReader |