Class IndexReaderContext

java.lang.Object
org.apache.lucene.index.IndexReaderContext
Direct Known Subclasses:
CompositeReaderContext, LeafReaderContext

public abstract class IndexReaderContext extends Object
A struct like class that represents a hierarchical relationship between IndexReader instances.
  • Field Details

    • parent

      public final CompositeReaderContext parent
      The reader context for this reader's immediate parent, or null if none
    • isTopLevel

      public final boolean isTopLevel
      true if this context struct represents the top level reader within the hierarchical context
    • docBaseInParent

      public final int docBaseInParent
      the doc base for this reader in the parent, 0 if parent is null
    • ordInParent

      public final int ordInParent
      the ord for this reader in the parent, 0 if parent is null
  • Method Details