|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.codecs.SegmentInfoFormat org.apache.lucene.codecs.lucene40.Lucene40SegmentInfoFormat
public class Lucene40SegmentInfoFormat
Lucene 4.0 Segment info format.
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
Field Summary | |
---|---|
static String |
SI_EXTENSION
File extension used to store SegmentInfo . |
Constructor Summary | |
---|---|
Lucene40SegmentInfoFormat()
Sole constructor. |
Method Summary | |
---|---|
SegmentInfoReader |
getSegmentInfoReader()
Returns the SegmentInfoReader for reading
SegmentInfo instances. |
SegmentInfoWriter |
getSegmentInfoWriter()
Returns the SegmentInfoWriter for writing
SegmentInfo instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SI_EXTENSION
SegmentInfo
.
Constructor Detail |
---|
public Lucene40SegmentInfoFormat()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |