
SegmentReader
- Namespace
- Rowles.LeanCorpus.Index.Segment
- Assembly
- Rowles.LeanCorpus.dll
Metadata-first facade for one immutable segment. Heavy codec state is loaded on first use and retained privately or through a searcher's bounded reader cache.
public sealed class SegmentReader : IDisposable
- Inheritance
-
SegmentReader
- Implements
SegmentReader(MMapDirectory, SegmentInfo)
Creates a lazy reader that privately retains its heavy state.
DocBase
Gets or sets the document base offset for this reader within the global document namespace.
HasDeletions
HasTermVectors
HasVectors
Info
Gets the segment metadata for this reader.
MaxDoc
Gets the total number of documents in this segment, including deleted documents.
VectorFieldNames
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
GetAllTermsForField(string)
GetBinaryDocValues(string)
GetDocFreq(string, string)
GetDocFreqByQualified(string)
GetDocIds(string, string)
GetFieldBoost(int, string)
GetFieldLength(int, string)
GetFuzzyMatches(string, ReadOnlySpan<char>, int, int)
GetInt64DocValues(string)
GetInt64PointsInSet(string, IReadOnlySet<long>)
GetInt64Range(string, long, long)
GetNorm(int, string)
GetNumericDocValues(string)
GetNumericPointsInSet(string, IReadOnlySet<double>)
GetNumericRange(string, double, double)
GetPositions(string, string, int)
GetPostingsEnum(string)
GetPostingsEnumAtOffset(long)
GetPostingsEnumWithPositions(string)
GetSortedDocValueTerms(string)
Returns the sorted local term dictionary for a field, or null if unavailable.
GetSortedDocValues(string)
GetSortedInt64DocValues(string)
GetSortedNumericDocValues(string)
GetSortedSetDocValueTerms(string)
Returns the sorted-set local term dictionary for a field, or null if unavailable.