Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface NumericTokenStream.INumericTermAttribute

    Expert: Use this attribute to get the details of the currently generated token.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    @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!

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Declaration
    int IncShift()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Init(Int64, Int32, Int32, Int32)

    Don't call this method!

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    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 © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.