public class Lucene46SegmentInfoFormat extends SegmentInfoFormat
Files:
CodecHeader
Int32
String
Set<String>
Map<String,String>
Int8
IndexWriter
, as a debugging aid,
for each segment it creates. It includes metadata like the current Lucene
version, OS, Java version, why the segment was created (merge, flush,
addIndexes), etc.SegmentInfos
Modifier and Type | Field and Description |
---|---|
static String |
SI_EXTENSION
File extension used to store
SegmentInfo . |
Constructor and Description |
---|
Lucene46SegmentInfoFormat()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
SegmentInfoReader |
getSegmentInfoReader()
Returns the
SegmentInfoReader for reading
SegmentInfo instances. |
SegmentInfoWriter |
getSegmentInfoWriter()
Returns the
SegmentInfoWriter for writing
SegmentInfo instances. |
public static final String SI_EXTENSION
SegmentInfo
.public SegmentInfoReader getSegmentInfoReader()
SegmentInfoFormat
SegmentInfoReader
for reading
SegmentInfo
instances.getSegmentInfoReader
in class SegmentInfoFormat
public SegmentInfoWriter getSegmentInfoWriter()
SegmentInfoFormat
SegmentInfoWriter
for writing
SegmentInfo
instances.getSegmentInfoWriter
in class SegmentInfoFormat
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.