Show / Hide Table of Contents

    Class LookaheadTokenFilter.Position

    Holds all state for a single position; subclass this to record other state at each position.

    Inheritance
    System.Object
    LookaheadTokenFilter.Position
    Implements
    RollingBuffer.IResettable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class Position : RollingBuffer.IResettable

    Properties

    | Improve this Doc View Source

    EndOffset

    Declaration
    public int EndOffset { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    InputTokens

    Declaration
    public IList<AttributeSource.State> InputTokens { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<AttributeSource.State>
    | Improve this Doc View Source

    NextRead

    Declaration
    public int NextRead { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    StartOffset

    Declaration
    public int StartOffset { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Add(AttributeSource.State)

    Declaration
    public virtual void Add(AttributeSource.State state)
    Parameters
    Type Name Description
    AttributeSource.State state
    | Improve this Doc View Source

    NextState()

    Declaration
    public virtual AttributeSource.State NextState()
    Returns
    Type Description
    AttributeSource.State
    | Improve this Doc View Source

    Reset()

    Declaration
    public void Reset()

    Implements

    RollingBuffer.IResettable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)