Show / Hide Table of Contents

    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

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

    Constructors

    | Improve this Doc View Source

    TokenRangeSinkFilter(Int32, Int32)

    Declaration
    public TokenRangeSinkFilter(int lower, int upper)
    Parameters
    Type Name Description
    System.Int32 lower
    System.Int32 upper

    Methods

    | Improve this Doc View Source

    Accept(AttributeSource)

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

    Reset()

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