C# Class org.apache.lucene.analysis.miscellaneous.TrimFilterFactory

Factory for TrimFilter.
 <fieldType name="text_trm" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.NGramTokenizerFactory"/> <filter class="solr.TrimFilterFactory" /> </analyzer> </fieldType>
Inheritance: Lucene.Net.Analysis.Util.TokenFilterFactory
Exibir arquivo Open project: paulirwin/lucene.net

Protected Properties

Property Type Description
updateOffsets bool

Public Methods

Method Description
TrimFilterFactory ( string>.IDictionary args ) : System.Collections.Generic

Creates a new TrimFilterFactory

create ( TokenStream input ) : TrimFilter

Method Details

TrimFilterFactory() public method

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

create() public method

public create ( TokenStream input ) : TrimFilter
input TokenStream
return TrimFilter

Property Details

updateOffsets protected_oe property

protected bool updateOffsets
return bool