Class Lucene40SegmentInfoReader
- java.lang.Object
-
- org.apache.lucene.codecs.SegmentInfoReader
-
- org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader
-
@Deprecated public class Lucene40SegmentInfoReader extends SegmentInfoReader
Deprecated.Only for reading old 4.0-4.5 segmentsLucene 4.0 implementation ofSegmentInfoReader
.- See Also:
Lucene40SegmentInfoFormat
-
-
Constructor Summary
Constructors Constructor Description Lucene40SegmentInfoReader()
Deprecated.Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SegmentInfo
read(Directory dir, java.lang.String segment, IOContext context)
Deprecated.ReadSegmentInfo
data from a directory.
-
-
-
Method Detail
-
read
public SegmentInfo read(Directory dir, java.lang.String segment, IOContext context) throws java.io.IOException
Deprecated.Description copied from class:SegmentInfoReader
ReadSegmentInfo
data from a directory.- Specified by:
read
in classSegmentInfoReader
- Parameters:
dir
- directory to read fromsegment
- name of the segment to read- Returns:
- infos instance to be populated with data
- Throws:
java.io.IOException
- If an I/O error occurs
-
-