Class 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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.CharFilters
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class MappingCharFilterFactory : CharFilterFactory, IResourceLoaderAware, IMultiTermAwareComponent
Constructors
| Improve this Doc View SourceMappingCharFilterFactory(IDictionary<String, String>)
Creates a new MappingCharFilterFactory
Declaration
public MappingCharFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Fields
| Improve this Doc View Sourcem_normMap
Declaration
protected NormalizeCharMap m_normMap
Field Value
Type | Description |
---|---|
NormalizeCharMap |
Methods
| Improve this Doc View SourceCreate(TextReader)
Declaration
public override TextReader Create(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input |
Returns
Type | Description |
---|---|
System.IO.TextReader |
Overrides
| Improve this Doc View SourceGetMultiTermComponent()
Declaration
public virtual AbstractAnalysisFactory GetMultiTermComponent()
Returns
Type | Description |
---|---|
AbstractAnalysisFactory |
Inform(IResourceLoader)
Declaration
public virtual void Inform(IResourceLoader loader)
Parameters
Type | Name | Description |
---|---|---|
IResourceLoader | loader |
ParseRules(IList<String>, NormalizeCharMap.Builder)
Declaration
protected virtual void ParseRules(IList<string> rules, NormalizeCharMap.Builder builder)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.String> | rules | |
NormalizeCharMap.Builder | builder |
ParseString(String)
Declaration
protected virtual string ParseString(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s |
Returns
Type | Description |
---|---|
System.String |