public class Lucene46SegmentInfoReader extends SegmentInfoReader
SegmentInfoReader
.Lucene46SegmentInfoFormat
Constructor and Description |
---|
Lucene46SegmentInfoReader()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
SegmentInfo |
read(Directory dir,
String segment,
IOContext context)
Read
SegmentInfo data from a directory. |
public SegmentInfo read(Directory dir, String segment, IOContext context) throws IOException
SegmentInfoReader
SegmentInfo
data from a directory.read
in class SegmentInfoReader
dir
- directory to read fromsegment
- name of the segment to readIOException
- If an I/O error occursCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.