Class TypeTokenFilterFactory
Factory class for TypeTokenFilter.
<fieldType name="chars" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.TypeTokenFilterFactory" types="stoptypes.txt"
useWhitelist="false"/>
</analyzer>
</fieldType>
Inheritance
System.Object
TypeTokenFilterFactory
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class TypeTokenFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
|
Improve this Doc
View Source
TypeTokenFilterFactory(IDictionary<String, String>)
Declaration
public TypeTokenFilterFactory(IDictionary<string, string> args)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
args |
|
Properties
|
Improve this Doc
View Source
EnablePositionIncrements
Declaration
public virtual bool EnablePositionIncrements { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
StopTypes
Declaration
public virtual ICollection<string> StopTypes { get; }
Property Value
Type |
Description |
ICollection<System.String> |
|
Methods
|
Improve this Doc
View Source
Create(TokenStream)
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public virtual void Inform(IResourceLoader loader)
Parameters
Implements