Class 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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.Sinks
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class TokenRangeSinkFilter : TeeSinkTokenFilter.SinkFilter
Constructors
| Improve this Doc View SourceTokenRangeSinkFilter(Int32, Int32)
Declaration
public TokenRangeSinkFilter(int lower, int upper)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | lower | |
System.Int32 | upper |
Methods
| Improve this Doc View SourceAccept(AttributeSource)
Declaration
public override bool Accept(AttributeSource source)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.AttributeSource | source |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()