Class Lucene46SegmentInfoReader
Lucene 4.6 implementation of SegmentInfoReader.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Codecs.Lucene46
Assembly: Lucene.Net.dll
Syntax
public class Lucene46SegmentInfoReader : SegmentInfoReader
Constructors
Lucene46SegmentInfoReader()
Sole constructor.
Declaration
public Lucene46SegmentInfoReader()
See Also
Methods
Read(Directory, string, IOContext)
Read SegmentInfo data from a directory.
Declaration
public override SegmentInfo Read(Directory dir, string segment, IOContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| Directory | dir | |
| string | segment | |
| 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. |