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 System.Int64 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 System.Single, System.Int32; 64 for System.Double, System.Int64)

    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

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)