Class Lucene46SegmentInfoReader
java.lang.Object
org.apache.lucene.codecs.SegmentInfoReader
org.apache.lucene.codecs.lucene46.Lucene46SegmentInfoReader
Lucene 4.6 implementation of
SegmentInfoReader.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Lucene46SegmentInfoReader
public Lucene46SegmentInfoReader()Sole constructor.
-
-
Method Details
-
read
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:
IOException- If an I/O error occurs
-