Class Lucene3xSegmentInfoReader
- java.lang.Object
 - 
- org.apache.lucene.codecs.SegmentInfoReader
 - 
- org.apache.lucene.codecs.lucene3x.Lucene3xSegmentInfoReader
 
 
 
- 
@Deprecated public class Lucene3xSegmentInfoReader extends SegmentInfoReader
Deprecated.Only for reading existing 3.x indexesLucene 3x implementation ofSegmentInfoReader. 
- 
- 
Constructor Summary
Constructors Constructor Description Lucene3xSegmentInfoReader()Deprecated. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SegmentInforead(Directory directory, java.lang.String segmentName, IOContext context)Deprecated.ReadSegmentInfodata from a directory.static voidreadLegacyInfos(SegmentInfos infos, Directory directory, IndexInput input, int format)Deprecated. 
 - 
 
- 
- 
Method Detail
- 
readLegacyInfos
public static void readLegacyInfos(SegmentInfos infos, Directory directory, IndexInput input, int format) throws java.io.IOException
Deprecated.- Throws:
 java.io.IOException
 
- 
read
public SegmentInfo read(Directory directory, java.lang.String segmentName, IOContext context) throws java.io.IOException
Deprecated.Description copied from class:SegmentInfoReaderReadSegmentInfodata from a directory.- Specified by:
 readin classSegmentInfoReader- Parameters:
 directory- directory to read fromsegmentName- name of the segment to read- Returns:
 - infos instance to be populated with data
 - Throws:
 java.io.IOException- If an I/O error occurs
 
 - 
 
 -