Class Lucene46SegmentInfoFormat
Lucene 4.6 Segment info format.
Files:
.si
: Header, SegVersion, SegSize, IsCompoundFile, Diagnostics, Files, Footer
- Header --> CodecHeader (WriteHeader(DataOutput, String, Int32))
- SegSize --> Int32 (WriteInt32(Int32))
- SegVersion --> String (WriteString(String))
- Files --> ISet<String> (
) - Diagnostics --> IDictionary<String,String> (
) - IsCompoundFile --> Int8 (WriteByte(Byte))
- Footer --> CodecFooter (WriteFooter(IndexOutput))
- SegVersion is the code version that created the segment.
- SegSize is the number of documents contained in the segment index.
- IsCompoundFile records whether the segment is written as a compound file or not. If this is -1, the segment is not a compound file. If it is 1, the segment is a compound file.
- The Diagnostics Map is privately written by IndexWriter, as a debugging aid, for each segment it creates. It includes metadata like the current Lucene version, OS, .NET/Java version, why the segment was created (merge, flush, addIndexes), etc.
- Files is a list of files referred to by this segment.
Namespace: Lucene.Net.Codecs.Lucene46
Assembly: Lucene.Net.dll
Syntax
public class Lucene46SegmentInfoFormat : SegmentInfoFormat
Constructors
| Improve this Doc View SourceLucene46SegmentInfoFormat()
Sole constructor.
Declaration
public Lucene46SegmentInfoFormat()
Fields
| Improve this Doc View SourceSI_EXTENSION
File extension used to store SegmentInfo.
Declaration
public static readonly string SI_EXTENSION
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceSegmentInfoReader
Declaration
public override SegmentInfoReader SegmentInfoReader { get; }
Property Value
Type | Description |
---|---|
SegmentInfoReader |
Overrides
| Improve this Doc View SourceSegmentInfoWriter
Declaration
public override SegmentInfoWriter SegmentInfoWriter { get; }
Property Value
Type | Description |
---|---|
SegmentInfoWriter |