C# Class Lucene.Net.Analysis.Miscellaneous.KeepWordFilterFactory

Factory for KeepWordFilter.
 <fieldType name="text_keepword" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.KeepWordFilterFactory" words="keepwords.txt" ignoreCase="false"/> </analyzer> </fieldType>
Inheritance: Lucene.Net.Analysis.Util.TokenFilterFactory, ResourceLoaderAware
显示文件 Open project: paulirwin/lucene.net Class Usage Examples

Public Methods

Method Description
Create ( TokenStream input ) : TokenStream
Inform ( ResourceLoader loader ) : void
KeepWordFilterFactory ( string>.IDictionary args ) : System.Collections.Generic

Creates a new KeepWordFilterFactory

Method Details

Create() public method

public Create ( TokenStream input ) : TokenStream
input TokenStream
return TokenStream

Inform() public method

public Inform ( ResourceLoader loader ) : void
loader ResourceLoader
return void

KeepWordFilterFactory() public method

Creates a new KeepWordFilterFactory
public KeepWordFilterFactory ( string>.IDictionary args ) : System.Collections.Generic
args string>.IDictionary
return System.Collections.Generic