Class SimpleTextSegmentInfoFormat
java.lang.Object
org.apache.lucene.codecs.SegmentInfoFormat
org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoFormat
plain text segments file format.
FOR RECREATIONAL USE ONLY
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
SI_EXTENSION
- See Also:
-
-
Constructor Details
-
SimpleTextSegmentInfoFormat
public SimpleTextSegmentInfoFormat()
-
-
Method Details
-
read
public SegmentInfo read(Directory directory, String segmentName, byte[] segmentID, IOContext context) throws IOException - Specified by:
read
in classSegmentInfoFormat
- Throws:
IOException
-
write
- Specified by:
write
in classSegmentInfoFormat
- Throws:
IOException
-