Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldCache.Int16s

    Field values as 16-bit signed shorts

    NOTE: This was Shorts in Lucene

    Inheritance
    System.Object
    FieldCache.Int16s
    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.Search
    Assembly: Lucene.Net.dll
    Syntax
    public class Int16s

    Constructors

    | Improve this Doc View Source

    Int16s()

    Initialize an instance of FieldCache.Int16s.

    Declaration
    protected Int16s()
    | Improve this Doc View Source

    Int16s(Func<Int32, Int16>)

    Initialize an instance of FieldCache.Int16s with the specified get delegate method.

    Declaration
    public Int16s(Func<int, short> get)
    Parameters
    Type Name Description
    System.Func<System.Int32, System.Int16> get

    A System.Func<T, TResult> that implements the Get(Int32) method body.

    Fields

    | Improve this Doc View Source

    EMPTY

    Zero value for every document

    Declaration
    public static readonly FieldCache.Int16s EMPTY
    Field Value
    Type Description
    FieldCache.Int16s

    Methods

    | Improve this Doc View Source

    Get(Int32)

    Return a System.Int16 representation of this field's value.

    Declaration
    public virtual short Get(int docID)
    Parameters
    Type Name Description
    System.Int32 docID
    Returns
    Type Description
    System.Int16
    • 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.