Class SimpleTextCompoundFormat
- java.lang.Object
-
- org.apache.lucene.codecs.CompoundFormat
-
- org.apache.lucene.codecs.simpletext.SimpleTextCompoundFormat
-
public class SimpleTextCompoundFormat extends CompoundFormat
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
Constructors Constructor Description SimpleTextCompoundFormat()
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundDirectory
getCompoundReader(Directory dir, SegmentInfo si, IOContext context)
void
write(Directory dir, SegmentInfo si, IOContext context)
-
-
-
Method Detail
-
getCompoundReader
public CompoundDirectory getCompoundReader(Directory dir, SegmentInfo si, IOContext context) throws IOException
- Specified by:
getCompoundReader
in classCompoundFormat
- Throws:
IOException
-
write
public void write(Directory dir, SegmentInfo si, IOContext context) throws IOException
- Specified by:
write
in classCompoundFormat
- Throws:
IOException
-
-