Class Lucene50SegmentInfoFormat
- java.lang.Object
-
- org.apache.lucene.codecs.SegmentInfoFormat
-
- org.apache.lucene.codecs.lucene50.Lucene50SegmentInfoFormat
-
@Deprecated public class Lucene50SegmentInfoFormat extends SegmentInfoFormat
Deprecated.Only for reading old 5.0-6.0 segmentsLucene 5.0 Segment info format.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SI_EXTENSION
Deprecated.File extension used to storeSegmentInfo
.
-
Constructor Summary
Constructors Constructor Description Lucene50SegmentInfoFormat()
Deprecated.Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SegmentInfo
read(Directory dir, String segment, byte[] segmentID, IOContext context)
Deprecated.void
write(Directory dir, SegmentInfo si, IOContext ioContext)
Deprecated.
-
-
-
Field Detail
-
SI_EXTENSION
public static final String SI_EXTENSION
Deprecated.File extension used to storeSegmentInfo
.- See Also:
- Constant Field Values
-
-
Method Detail
-
read
public SegmentInfo read(Directory dir, String segment, byte[] segmentID, IOContext context) throws IOException
Deprecated.- Specified by:
read
in classSegmentInfoFormat
- Throws:
IOException
-
write
public void write(Directory dir, SegmentInfo si, IOContext ioContext) throws IOException
Deprecated.- Specified by:
write
in classSegmentInfoFormat
- Throws:
IOException
-
-