Fork me on GitHub
  • API

    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.

    Note

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

    Note

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

    Inheritance
    System.Object
    MultiDocValues
    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 static class MultiDocValues

    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 © 2022 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.