Show / Hide Table of Contents

    Class TeeSinkTokenFilter.SinkFilter

    A filter that decides which AttributeSource states to store in the sink.

    Inheritance
    System.Object
    TeeSinkTokenFilter.SinkFilter
    DateRecognizerSinkFilter
    TokenRangeSinkFilter
    TokenTypeSinkFilter
    Namespace: Lucene.Net.Analysis.Sinks
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public abstract class SinkFilter : object

    Methods

    | Improve this Doc View Source

    Accept(AttributeSource)

    Returns true, iff the current state of the passed-in AttributeSource shall be stored in the sink.

    Declaration
    public abstract bool Accept(AttributeSource source)
    Parameters
    Type Name Description
    AttributeSource source
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Reset()

    Called by Reset(). This method does nothing by default and can optionally be overridden.

    Declaration
    public virtual void Reset()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)