C# Class Lucene.Net.Analysis.Compound.DictionaryCompoundWordTokenFilterFactory

Factory for DictionaryCompoundWordTokenFilter.
 <fieldType name="text_dictcomp" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.DictionaryCompoundWordTokenFilterFactory" dictionary="dictionary.txt" minWordSize="5" minSubwordSize="2" maxSubwordSize="15" onlyLongestMatch="true"/> </analyzer> </fieldType>
Inheritance: Lucene.Net.Analysis.Util.TokenFilterFactory, IResourceLoaderAware
Show file Open project: apache/lucenenet

Public Methods

Method Description
Create ( TokenStream input ) : TokenStream
DictionaryCompoundWordTokenFilterFactory ( string>.IDictionary args ) : Lucene.Net.Analysis.Util

Creates a new DictionaryCompoundWordTokenFilterFactory

Inform ( IResourceLoader loader ) : void

Method Details

Create() public method

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

DictionaryCompoundWordTokenFilterFactory() public method

Creates a new DictionaryCompoundWordTokenFilterFactory
public DictionaryCompoundWordTokenFilterFactory ( string>.IDictionary args ) : Lucene.Net.Analysis.Util
args string>.IDictionary
return Lucene.Net.Analysis.Util

Inform() public method

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