Class RemoveDuplicatesTokenFilterFactory
Factory for RemoveDuplicatesTokenFilter.
<fieldType name="text_rmdup" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
</analyzer>
</fieldType>
Inherited Members
Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class RemoveDuplicatesTokenFilterFactory : TokenFilterFactory
Constructors
RemoveDuplicatesTokenFilterFactory(IDictionary<string, string>)
Creates a new RemoveDuplicatesTokenFilterFactory
Declaration
public RemoveDuplicatesTokenFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | args |
Methods
Create(TokenStream)
Transform the specified input Lucene.Net.Analysis.TokenStream
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input |
Returns
Type | Description |
---|---|
TokenStream |