Show / Hide Table of Contents

    Interface NumericTokenStream.INumericTermAttribute

    Expert: Use this attribute to get the details of the currently generated token. @lucene.experimental @since 4.0

    Inherited Members
    IAttribute.CopyTo(IAttribute)
    Namespace: Lucene.Net.Analysis
    Assembly: Lucene.Net.dll
    Syntax
    public interface INumericTermAttribute : IAttribute

    Properties

    | Improve this Doc View Source

    RawValue

    Returns current token's raw value as with all Shift applied, undefined before first token

    Declaration
    long RawValue { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Shift

    Returns current shift value, undefined before first token

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

    ValueSize

    Returns value size in bits (32 for , ; 64 for , )

    Declaration
    int ValueSize { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    IncShift()

    Don't call this method!

    This is a Lucene.NET INTERNAL API, use at your own risk
    Declaration
    int IncShift()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Init(Int64, Int32, Int32, Int32)

    Don't call this method!

    This is a Lucene.NET INTERNAL API, use at your own risk
    Declaration
    void Init(long value, int valSize, int precisionStep, int shift)
    Parameters
    Type Name Description
    System.Int64 value
    System.Int32 valSize
    System.Int32 precisionStep
    System.Int32 shift
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)