public final class Lucene50CompoundFormat extends CompoundFormat
Files:
Description:
IndexHeader
VInt
UInt64
String
CodecFooter
Notes:
Constructor and Description |
---|
Lucene50CompoundFormat()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
Directory |
getCompoundReader(Directory dir,
SegmentInfo si,
IOContext context)
Returns a Directory view (read-only) for the compound files in this segment
|
void |
write(Directory dir,
SegmentInfo si,
IOContext context)
Packs the provided segment's files into a compound format.
|
public Directory getCompoundReader(Directory dir, SegmentInfo si, IOContext context) throws IOException
CompoundFormat
getCompoundReader
in class CompoundFormat
IOException
public void write(Directory dir, SegmentInfo si, IOContext context) throws IOException
CompoundFormat
write
in class CompoundFormat
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.