Class Lucene40SkipListWriter
Implements the skip list writer for the 4.0 posting list format that stores positions and payloads.
Inheritance
System.Object
Lucene40SkipListWriter
Namespace: Lucene.Net.Codecs.Lucene40
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class Lucene40SkipListWriter : MultiLevelSkipListWriter
Constructors
| Improve this Doc View SourceLucene40SkipListWriter(Int32, Int32, Int32, IndexOutput, IndexOutput)
Sole constructor.
Declaration
public Lucene40SkipListWriter(int skipInterval, int numberOfSkipLevels, int docCount, IndexOutput freqOutput, IndexOutput proxOutput)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | skipInterval | |
System.Int32 | numberOfSkipLevels | |
System.Int32 | docCount | |
IndexOutput | freqOutput | |
IndexOutput | proxOutput |
Methods
| Improve this Doc View SourceResetSkip()
Declaration
public override void ResetSkip()
SetSkipData(Int32, Boolean, Int32, Boolean, Int32)
Sets the values for the current skip data.
Declaration
public virtual void SetSkipData(int doc, bool storePayloads, int payloadLength, bool storeOffsets, int offsetLength)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | doc | |
System.Boolean | storePayloads | |
System.Int32 | payloadLength | |
System.Boolean | storeOffsets | |
System.Int32 | offsetLength |
WriteSkipData(Int32, IndexOutput)
Declaration
protected override void WriteSkipData(int level, IndexOutput skipBuffer)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | level | |
IndexOutput | skipBuffer |