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 SegmentInforead(Directory dir, java.lang.String segment, IOContext context)Deprecated.ReadSegmentInfodata 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:SegmentInfoReaderReadSegmentInfodata from a directory.- Specified by:
readin 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
-
-