Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Int32DocValues

    Abstract FunctionValues implementation which supports retrieving int values. Implementations can control how the int values are loaded through Int32Val(int)

    NOTE: This was IntDocValues in Lucene
    Inheritance
    object
    FunctionValues
    Int32DocValues
    Inherited Members
    FunctionValues.BoolVal(int)
    FunctionValues.BytesVal(int, BytesRef)
    FunctionValues.Exists(int)
    FunctionValues.OrdVal(int)
    FunctionValues.NumOrd
    FunctionValues.ByteVal(int, byte[])
    FunctionValues.Int16Val(int, short[])
    FunctionValues.SingleVal(int, float[])
    FunctionValues.Int32Val(int, int[])
    FunctionValues.Int64Val(int, long[])
    FunctionValues.DoubleVal(int, double[])
    FunctionValues.StrVal(int, string[])
    FunctionValues.Explain(int)
    FunctionValues.GetScorer(IndexReader)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Queries.Function.DocValues
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public abstract class Int32DocValues : FunctionValues

    Constructors

    Int32DocValues(ValueSource)

    Abstract FunctionValues implementation which supports retrieving int values. Implementations can control how the int values are loaded through Int32Val(int)

    NOTE: This was IntDocValues in Lucene
    Declaration
    protected Int32DocValues(ValueSource vs)
    Parameters
    Type Name Description
    ValueSource vs

    Fields

    m_vs

    Abstract FunctionValues implementation which supports retrieving int values. Implementations can control how the int values are loaded through Int32Val(int)

    NOTE: This was IntDocValues in Lucene
    Declaration
    protected readonly ValueSource m_vs
    Field Value
    Type Description
    ValueSource

    Methods

    ByteVal(int)

    Abstract FunctionValues implementation which supports retrieving int values. Implementations can control how the int values are loaded through Int32Val(int)

    NOTE: This was IntDocValues in Lucene
    Declaration
    public override byte ByteVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    byte
    Overrides
    FunctionValues.ByteVal(int)

    DoubleVal(int)

    Abstract FunctionValues implementation which supports retrieving int values. Implementations can control how the int values are loaded through Int32Val(int)

    NOTE: This was IntDocValues in Lucene
    Declaration
    public override double DoubleVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    double
    Overrides
    FunctionValues.DoubleVal(int)

    GetRangeScorer(IndexReader, string, string, bool, bool)

    Abstract FunctionValues implementation which supports retrieving int values. Implementations can control how the int values are loaded through Int32Val(int)

    NOTE: This was IntDocValues in Lucene
    Declaration
    public override ValueSourceScorer GetRangeScorer(IndexReader reader, string lowerVal, string upperVal, bool includeLower, bool includeUpper)
    Parameters
    Type Name Description
    IndexReader reader
    string lowerVal
    string upperVal
    bool includeLower
    bool includeUpper
    Returns
    Type Description
    ValueSourceScorer
    Overrides
    FunctionValues.GetRangeScorer(IndexReader, string, string, bool, bool)

    GetValueFiller()

    Note

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

    Declaration
    public override FunctionValues.ValueFiller GetValueFiller()
    Returns
    Type Description
    FunctionValues.ValueFiller
    Overrides
    FunctionValues.GetValueFiller()

    Int16Val(int)

    NOTE: This was shortVal() in Lucene

    Declaration
    public override short Int16Val(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    short
    Overrides
    FunctionValues.Int16Val(int)

    Int32Val(int)

    NOTE: This was intVal() in Lucene

    Declaration
    public override abstract int Int32Val(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    int
    Overrides
    FunctionValues.Int32Val(int)

    Int64Val(int)

    NOTE: This was longVal() in Lucene

    Declaration
    public override long Int64Val(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    long
    Overrides
    FunctionValues.Int64Val(int)

    ObjectVal(int)

    Native object representation of the value

    Declaration
    public override object ObjectVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    object
    Overrides
    FunctionValues.ObjectVal(int)

    SingleVal(int)

    NOTE: This was floatVal() in Lucene

    Declaration
    public override float SingleVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    float
    Overrides
    FunctionValues.SingleVal(int)

    StrVal(int)

    Abstract FunctionValues implementation which supports retrieving int values. Implementations can control how the int values are loaded through Int32Val(int)

    NOTE: This was IntDocValues in Lucene
    Declaration
    public override string StrVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    string
    Overrides
    FunctionValues.StrVal(int)

    ToString(int)

    Abstract FunctionValues implementation which supports retrieving int values. Implementations can control how the int values are loaded through Int32Val(int)

    NOTE: This was IntDocValues in Lucene
    Declaration
    public override string ToString(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    string
    Overrides
    FunctionValues.ToString(int)
    Back to top Copyright © 2024 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.