public class Lucene46SegmentInfoFormat extends SegmentInfoFormat
Files:
CodecHeaderInt32StringSet<String>Map<String,String>Int8CodecFooter
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()
SegmentInfoFormatSegmentInfoReader for reading
SegmentInfo instances.getSegmentInfoReader in class SegmentInfoFormatpublic SegmentInfoWriter getSegmentInfoWriter()
SegmentInfoFormatSegmentInfoWriter for writing
SegmentInfo instances.getSegmentInfoWriter in class SegmentInfoFormatCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.