Class Lucene40SkipListWriter
Implements the skip list writer for the 4.0 posting list format that stores positions and payloads.
Inherited Members
MultiLevelSkipListWriter.m_numberOfSkipLevels
MultiLevelSkipListWriter.Init()
MultiLevelSkipListWriter.WriteSkip(IndexOutput)
Namespace: Lucene.Net.Codecs.Lucene40
Assembly: Lucene.Net.TestFramework.dll
Syntax
[Obsolete("Only for reading old 4.0 segments")]
public class Lucene40SkipListWriter : MultiLevelSkipListWriter
Constructors
Lucene40SkipListWriter(int, int, int, IndexOutput, IndexOutput)
Sole constructor.
Declaration
public Lucene40SkipListWriter(int skipInterval, int numberOfSkipLevels, int docCount, IndexOutput freqOutput, IndexOutput proxOutput)
Parameters
Type | Name | Description |
---|---|---|
int | skipInterval | |
int | numberOfSkipLevels | |
int | docCount | |
IndexOutput | freqOutput | |
IndexOutput | proxOutput |
See Also
Lucene40PostingsFormat
Methods
ResetSkip()
Creates new buffers or empties the existing ones.
Declaration
public override void ResetSkip()
Overrides
Lucene.Net.Codecs.MultiLevelSkipListWriter.ResetSkip()
See Also
Lucene40PostingsFormat
SetSkipData(int, bool, int, bool, int)
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 |
---|---|---|
int | doc | |
bool | storePayloads | |
int | payloadLength | |
bool | storeOffsets | |
int | offsetLength |
See Also
Lucene40PostingsFormat
WriteSkipData(int, IndexOutput)
Subclasses must implement the actual skip data encoding in this method.
Declaration
protected override void WriteSkipData(int level, IndexOutput skipBuffer)
Parameters
Type | Name | Description |
---|---|---|
int | level | The level skip data shall be writing for. |
IndexOutput | skipBuffer | The skip buffer to write to. |
Overrides
See Also
Lucene40PostingsFormat
See Also
Lucene40PostingsFormat