Class StandardTokenizerFactory
Factory for StandardTokenizer.
<fieldType name="text_stndrd" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory" maxTokenLength="255"/>
</analyzer>
</fieldType>
Inherited Members
Namespace: Lucene.Net.Analysis.Standard
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class StandardTokenizerFactory : TokenizerFactory
Constructors
StandardTokenizerFactory(IDictionary<string, string>)
Creates a new StandardTokenizerFactory
Declaration
public StandardTokenizerFactory(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 |