Show / Hide Table of Contents

    Class MultiDocValues

    A wrapper for CompositeReader providing access to DocValues.

    NOTE: for multi readers, you'll get better performance by gathering the sub readers using Context to get the atomic leaves and then operate per-AtomicReader, instead of using this class.

    NOTE: this is very costly.

    @lucene.experimental

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    MultiDocValues
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public class MultiDocValues : object

    Methods

    | Improve this Doc View Source

    GetBinaryValues(IndexReader, String)

    Returns a BinaryDocValues for a reader's docvalues (potentially merging on-the-fly)

    This is a slow way to access binary values. Instead, access them per-segment with GetBinaryDocValues(String)

    Declaration
    public static BinaryDocValues GetBinaryValues(IndexReader r, string field)
    Parameters
    Type Name Description
    IndexReader r
    System.String field
    Returns
    Type Description
    BinaryDocValues
    | Improve this Doc View Source

    GetDocsWithField(IndexReader, String)

    Returns a IBits for a reader's docsWithField (potentially merging on-the-fly)

    This is a slow way to access this bitset. Instead, access them per-segment with GetDocsWithField(String)

    Declaration
    public static IBits GetDocsWithField(IndexReader r, string field)
    Parameters
    Type Name Description
    IndexReader r
    System.String field
    Returns
    Type Description
    IBits
    | Improve this Doc View Source

    GetNormValues(IndexReader, String)

    Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).

    This is a slow way to access normalization values. Instead, access them per-segment with GetNormValues(String)

    Declaration
    public static NumericDocValues GetNormValues(IndexReader r, string field)
    Parameters
    Type Name Description
    IndexReader r
    System.String field
    Returns
    Type Description
    NumericDocValues
    | Improve this Doc View Source

    GetNumericValues(IndexReader, String)

    Returns a NumericDocValues for a reader's docvalues (potentially merging on-the-fly)

    This is a slow way to access numeric values. Instead, access them per-segment with GetNumericDocValues(String)

    Declaration
    public static NumericDocValues GetNumericValues(IndexReader r, string field)
    Parameters
    Type Name Description
    IndexReader r
    System.String field
    Returns
    Type Description
    NumericDocValues
    | Improve this Doc View Source

    GetSortedSetValues(IndexReader, String)

    Returns a SortedSetDocValues for a reader's docvalues (potentially doing extremely slow things).

    This is an extremely slow way to access sorted values. Instead, access them per-segment with GetSortedSetDocValues(String)

    Declaration
    public static SortedSetDocValues GetSortedSetValues(IndexReader r, string field)
    Parameters
    Type Name Description
    IndexReader r
    System.String field
    Returns
    Type Description
    SortedSetDocValues
    | Improve this Doc View Source

    GetSortedValues(IndexReader, String)

    Returns a SortedDocValues for a reader's docvalues (potentially doing extremely slow things).

    this is an extremely slow way to access sorted values. Instead, access them per-segment with GetSortedDocValues(String)

    Declaration
    public static SortedDocValues GetSortedValues(IndexReader r, string field)
    Parameters
    Type Name Description
    IndexReader r
    System.String field
    Returns
    Type Description
    SortedDocValues
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)