C# (CSharp) Lucene.Net.Analysis.CharFilters Namespace

Classes

Name Description
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>
HTMLStripCharFilterTest
HTMLStripCharFilterTest.AnalyzerAnonymousInnerClassHelper
MappingCharFilter Simplistic CharFilter that applies the mappings contained in a NormalizeCharMap to the character stream, and correcting the resulting changes to the offsets. Matching is greedy (longest pattern matching at a given point wins). Replacement is allowed to be the empty string.
MappingCharFilterFactory Factory for MappingCharFilter.
 <fieldType name="text_map" class="solr.TextField" positionIncrementGap="100"> <analyzer> <charFilter class="solr.MappingCharFilterFactory" mapping="mapping.txt"/> <tokenizer class="solr.WhitespaceTokenizerFactory"/> </analyzer> </fieldType>
@since Solr 1.4
NormalizeCharMap Holds a map of String input to String output, to be used with Builder. Use the MappingCharFilter to create this.
NormalizeCharMap.Builder Builds an NormalizeCharMap.

Call add() until you have added all the mappings, then call build() to get a NormalizeCharMap @lucene.experimental

TestHTMLStripCharFilterFactory Simple tests to ensure this factory is working
TestMappingCharFilter
TestMappingCharFilter.AnalyzerAnonymousInnerClassHelper
TestMappingCharFilter.AnalyzerAnonymousInnerClassHelper2
TestMappingCharFilter.AnalyzerAnonymousInnerClassHelper3
TestMappingCharFilterFactory