Show / Hide Table of Contents

    Class DocValues

    This class contains utility methods and constants for DocValues

    Inheritance
    System.Object
    DocValues
    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.Index
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class DocValues

    Fields

    | Improve this Doc View Source

    EMPTY_BINARY

    An empty BinaryDocValues which returns EMPTY_BYTES for every document

    Declaration
    public static readonly BinaryDocValues EMPTY_BINARY
    Field Value
    Type Description
    BinaryDocValues
    | Improve this Doc View Source

    EMPTY_NUMERIC

    An empty NumericDocValues which returns zero for every document

    Declaration
    public static readonly NumericDocValues EMPTY_NUMERIC
    Field Value
    Type Description
    NumericDocValues
    | Improve this Doc View Source

    EMPTY_SORTED

    An empty SortedDocValues which returns EMPTY_BYTES for every document

    Declaration
    public static readonly SortedDocValues EMPTY_SORTED
    Field Value
    Type Description
    SortedDocValues
    | Improve this Doc View Source

    EMPTY_SORTED_SET

    An empty SortedDocValues which returns NO_MORE_ORDS for every document

    Declaration
    public static readonly SortedSetDocValues EMPTY_SORTED_SET
    Field Value
    Type Description
    SortedSetDocValues

    Methods

    | Improve this Doc View Source

    DocsWithValue(SortedDocValues, Int32)

    Returns a IBits representing all documents from dv that have a value.

    Declaration
    public static IBits DocsWithValue(SortedDocValues dv, int maxDoc)
    Parameters
    Type Name Description
    SortedDocValues dv
    System.Int32 maxDoc
    Returns
    Type Description
    IBits
    | Improve this Doc View Source

    DocsWithValue(SortedSetDocValues, Int32)

    Returns a IBits representing all documents from dv that have a value.

    Declaration
    public static IBits DocsWithValue(SortedSetDocValues dv, int maxDoc)
    Parameters
    Type Name Description
    SortedSetDocValues dv
    System.Int32 maxDoc
    Returns
    Type Description
    IBits
    | Improve this Doc View Source

    Singleton(SortedDocValues)

    Returns a multi-valued view over the provided SortedDocValues

    Declaration
    public static SortedSetDocValues Singleton(SortedDocValues dv)
    Parameters
    Type Name Description
    SortedDocValues dv
    Returns
    Type Description
    SortedSetDocValues
    | Improve this Doc View Source

    UnwrapSingleton(SortedSetDocValues)

    Returns a single-valued view of the SortedSetDocValues, if it was previously wrapped with Singleton(SortedDocValues), or null.

    Declaration
    public static SortedDocValues UnwrapSingleton(SortedSetDocValues dv)
    Parameters
    Type Name Description
    SortedSetDocValues dv
    Returns
    Type Description
    SortedDocValues

    Extension Methods

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