Show / Hide Table of Contents

    Class ValidatingTokenFilter

    A that checks consistency of the tokens (eg offsets are consistent with one another).

    Inheritance
    System.Object
    ValidatingTokenFilter
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public sealed class ValidatingTokenFilter : TokenFilter

    Constructors

    | Improve this Doc View Source

    ValidatingTokenFilter(TokenStream, String, Boolean)

    The name is used to identify this stage when throwing exceptions (useful if you have more than one instance in your chain).

    Declaration
    public ValidatingTokenFilter(TokenStream in, string name, bool offsetsAreCorrect)
    Parameters
    Type Name Description
    TokenStream in
    System.String name
    System.Boolean offsetsAreCorrect

    Methods

    | Improve this Doc View Source

    End()

    Declaration
    public override void End()
    | 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)