Class SegmentReader
IndexReader implementation over a single segment.
Instances pointing to the same segment (but with different deletes, etc) may share the same core data.
@lucene.experimental
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class SegmentReader : AtomicReader, IIdentifiableSurrogate
Constructors
Name | Description |
---|---|
SegmentReader(SegmentCommitInfo, Int32, IOContext) | Constructs a new SegmentReader with a new core. |
Properties
Name | Description |
---|---|
CombinedCoreAndDeletesKey | |
CoreCacheKey | |
Directory | Returns the directory this index resides in. |
FieldInfos | |
Fields | |
FieldsReader | Expert: retrieve thread-private StoredFieldsReader @lucene.internal |
LiveDocs | |
MaxDoc | |
NumDocs | |
SegmentInfo | Return the SegmentCommitInfo of the segment this reader is reading. |
SegmentName | Return the name of the segment this reader is reading. |
TermInfosIndexDivisor | Returns term infos index divisor originally passed to SegmentReader(SegmentCommitInfo, Int32, IOContext). |
TermVectorsReader | Expert: retrieve thread-private TermVectorsReader @lucene.internal |
Methods
Name | Description |
---|---|
AddCoreDisposedListener(SegmentReader.ICoreDisposedListener) | Expert: adds a SegmentReader.ICoreDisposedListener to this reader's shared core |
CheckIntegrity() | |
DoClose() | |
Document(Int64, StoredFieldVisitor) | |
GetBinaryDocValues(String) | |
GetDocsWithField(String) | |
GetNormValues(String) | |
GetNumericDocValues(String) | |
GetSortedDocValues(String) | |
GetSortedSetDocValues(String) | |
GetTermVectors(Int64) | |
RamBytesUsed() | Returns approximate RAM Bytes used |
RemoveCoreDisposedListener(SegmentReader.ICoreDisposedListener) | Expert: removes a SegmentReader.ICoreDisposedListener from this reader's shared core |
ToString() |