Show / Hide Table of Contents

    Class CrankyTokenFilter

    Throws from random methods.

    This can be used to simulate a buggy analyzer in , where we must delete the document but not abort everything in the buffer.

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

    Constructors

    | Improve this Doc View Source

    CrankyTokenFilter(TokenStream, Random)

    Creates a new CrankyTokenFilter.

    Declaration
    public CrankyTokenFilter(TokenStream input, Random random)
    Parameters
    Type Name Description
    TokenStream input
    Random random

    Methods

    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | 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)