Class Lucene46SegmentInfoReader
- java.lang.Object
-
- org.apache.lucene.codecs.SegmentInfoReader
-
- org.apache.lucene.codecs.lucene46.Lucene46SegmentInfoReader
-
public class Lucene46SegmentInfoReader extends SegmentInfoReader
Lucene 4.6 implementation ofSegmentInfoReader.- See Also:
Lucene46SegmentInfoFormat
-
-
Constructor Summary
Constructors Constructor Description Lucene46SegmentInfoReader()Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentInforead(Directory dir, java.lang.String segment, IOContext context)ReadSegmentInfodata from a directory.
-
-
-
Method Detail
-
read
public SegmentInfo read(Directory dir, java.lang.String segment, IOContext context) throws java.io.IOException
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
-
-