Show / Hide Table of Contents

    Class OffsetLimitTokenFilter

    This limits the number of tokens while indexing by adding up the current offset.

    Inheritance
    System.Object
    OffsetLimitTokenFilter
    Namespace: Lucene.Net.Search.Highlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public sealed class OffsetLimitTokenFilter : TokenFilter

    Constructors

    | Improve this Doc View Source

    OffsetLimitTokenFilter(TokenStream, Int32)

    Declaration
    public OffsetLimitTokenFilter(TokenStream input, int offsetLimit)
    Parameters
    Type Name Description
    TokenStream input
    System.Int32 offsetLimit

    Methods

    | Improve this Doc View Source

    IncrementToken()

    Declaration
    public override bool IncrementToken()
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Reset()

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