@Deprecated public class Lucene3xSegmentInfoReader extends SegmentInfoReader
SegmentInfoReader
.Constructor and Description |
---|
Lucene3xSegmentInfoReader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SegmentInfo |
read(Directory directory,
String segmentName,
IOContext context)
Deprecated.
Read
SegmentInfo data from a directory. |
static void |
readLegacyInfos(SegmentInfos infos,
Directory directory,
IndexInput input,
int format)
Deprecated.
|
public static void readLegacyInfos(SegmentInfos infos, Directory directory, IndexInput input, int format) throws IOException
IOException
public SegmentInfo read(Directory directory, String segmentName, IOContext context) throws IOException
SegmentInfoReader
SegmentInfo
data from a directory.read
in class SegmentInfoReader
directory
- directory to read fromsegmentName
- name of the segment to readIOException
- If an I/O error occursCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.