Class SimpleTextCompoundFormat
java.lang.Object
org.apache.lucene.codecs.CompoundFormat
org.apache.lucene.codecs.simpletext.SimpleTextCompoundFormat
plain text compound format.
FOR RECREATIONAL USE ONLY
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCompoundReader
(Directory dir, SegmentInfo si, IOContext context) void
write
(Directory dir, SegmentInfo si, IOContext context)
-
Constructor Details
-
SimpleTextCompoundFormat
public SimpleTextCompoundFormat()Sole constructor.
-
-
Method Details
-
getCompoundReader
public CompoundDirectory getCompoundReader(Directory dir, SegmentInfo si, IOContext context) throws IOException - Specified by:
getCompoundReader
in classCompoundFormat
- Throws:
IOException
-
write
- Specified by:
write
in classCompoundFormat
- Throws:
IOException
-