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