Class SimpleTextSegmentInfoReader
Reads plaintext segments files.
FOR RECREATIONAL USE ONLY
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Codecs.SimpleText
Assembly: Lucene.Net.Codecs.dll
Syntax
public class SimpleTextSegmentInfoReader : SegmentInfoReader
Methods
Read(Directory, string, IOContext)
Read Lucene.Net.Index.SegmentInfo data from a directory.
Declaration
public override SegmentInfo Read(Directory directory, string segmentName, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | Directory to read from. |
string | segmentName | Name of the segment to read. |
IOContext | context | IO context. |
Returns
Type | Description |
---|---|
SegmentInfo | Infos instance to be populated with data. |
Overrides
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |