Class TeeSinkTokenFilter.SinkFilter
A filter that decides which Lucene.Net.Util.AttributeSource states to store in the sink.
Inheritance
TeeSinkTokenFilter.SinkFilter
Inherited Members
Namespace: Lucene.Net.Analysis.Sinks
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public abstract class TeeSinkTokenFilter.SinkFilter
Methods
Accept(AttributeSource)
Returns true, iff the current state of the passed-in Lucene.Net.Util.AttributeSource shall be stored in the sink.
Declaration
public abstract bool Accept(AttributeSource source)
Parameters
Type | Name | Description |
---|---|---|
AttributeSource | source |
Returns
Type | Description |
---|---|
bool |
Reset()
Called by Reset(). This method does nothing by default and can optionally be overridden.
Declaration
public virtual void Reset()