Class Lucene40SegmentInfoReader
java.lang.Object
org.apache.lucene.codecs.SegmentInfoReader
org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoReader
Deprecated.
Only for reading old 4.0-4.5 segments
Lucene 4.0 implementation of
SegmentInfoReader
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Lucene40SegmentInfoReader
public Lucene40SegmentInfoReader()Deprecated.Sole constructor.
-
-
Method Details
-
read
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:
IOException
- If an I/O error occurs
-