Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class AtomicReaderContext

    IndexReaderContext for AtomicReader instances.

    Inheritance
    object
    IndexReaderContext
    AtomicReaderContext
    Inherited Members
    IndexReaderContext.Parent
    IndexReaderContext.IsTopLevel
    IndexReaderContext.DocBaseInParent
    IndexReaderContext.OrdInParent
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class AtomicReaderContext : IndexReaderContext

    Properties

    AtomicReader

    IndexReaderContext for AtomicReader instances.

    Declaration
    public AtomicReader AtomicReader { get; }
    Property Value
    Type Description
    AtomicReader

    Children

    Returns the context's children iff this context is a composite context otherwise null.

    Declaration
    public override IList<IndexReaderContext> Children { get; }
    Property Value
    Type Description
    IList<IndexReaderContext>
    Overrides
    IndexReaderContext.Children

    DocBase

    The readers absolute doc base

    Declaration
    public int DocBase { get; }
    Property Value
    Type Description
    int

    Leaves

    Returns the context's leaves if this context is a top-level context. For convenience, if this is an AtomicReaderContext this returns itself as the only leaf.

    Note: this is convenience method since leaves can always be obtained by walking the context tree using Children.
    Declaration
    public override IList<AtomicReaderContext> Leaves { get; }
    Property Value
    Type Description
    IList<AtomicReaderContext>
    Overrides
    IndexReaderContext.Leaves
    Exceptions
    Type Condition
    InvalidOperationException

    if this is not a top-level context.

    See Also
    Children

    Ord

    The readers ord in the top-level's leaves array

    Declaration
    public int Ord { get; }
    Property Value
    Type Description
    int

    Reader

    Returns the IndexReader, this context represents.

    Declaration
    public override IndexReader Reader { get; }
    Property Value
    Type Description
    IndexReader
    Overrides
    IndexReaderContext.Reader
    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.