Constructor SegmentReader
SegmentReader(SegmentCommitInfo, Int32, IOContext)
Constructs a new SegmentReader with a new core.
Declaration
public SegmentReader(SegmentCommitInfo si, int termInfosIndexDivisor, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
SegmentCommitInfo | si | |
System.Int32 | termInfosIndexDivisor | |
IOContext | context |
Exceptions
Type | Condition |
---|---|
CorruptIndexException | if the index is corrupt |