Class CompositeReaderContext
IndexReaderContext for CompositeReader instance.
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public sealed class CompositeReaderContext : IndexReaderContext
Properties
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
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
Exceptions
Type | Condition |
---|---|
InvalidOperationException | if this is not a top-level context. |
See Also
Reader
Returns the IndexReader, this context represents.
Declaration
public override IndexReader Reader { get; }
Property Value
Type | Description |
---|---|
IndexReader |