Class LetterTokenizerFactory
Factory for LetterTokenizer.
<fieldType name="text_letter" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.LetterTokenizerFactory"/>
</analyzer>
</fieldType>
Inherited Members
Namespace: Lucene.Net.Analysis.Core
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class LetterTokenizerFactory : TokenizerFactory
Constructors
LetterTokenizerFactory(IDictionary<string, string>)
Creates a new LetterTokenizerFactory
Declaration
public LetterTokenizerFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
Methods
Create(AttributeFactory, TextReader)
Creates a Lucene.Net.Analysis.TokenStream of the specified input using the given Lucene.Net.Util.AttributeSource.AttributeFactory
Declaration
public override Tokenizer Create(AttributeSource.AttributeFactory factory, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
AttributeSource.AttributeFactory | factory | |
TextReader | input |
Returns
Type | Description |
---|---|
Tokenizer |