C# Class org.apache.lucene.analysis.sinks.TokenRangeSinkFilter

Counts the tokens as they go by and saves to the internal list those between the range of lower and upper, exclusive of upper
Inheritance: TeeSinkTokenFilter.SinkFilter
Datei anzeigen Open project: paulirwin/lucene.net Class Usage Examples

Public Methods

Method Description
TokenRangeSinkFilter ( int lower, int upper )
accept ( org.apache.lucene.util.AttributeSource source ) : bool
reset ( ) : void

Method Details

TokenRangeSinkFilter() public method

public TokenRangeSinkFilter ( int lower, int upper )
lower int
upper int

accept() public method

public accept ( org.apache.lucene.util.AttributeSource source ) : bool
source org.apache.lucene.util.AttributeSource
return bool

reset() public method

public reset ( ) : void
return void