Class Lucene40SkipListReader
Implements the skip list reader for the 4.0 posting list format that stores positions and payloads.
Implements
Inherited Members
Namespace: Lucene.Net.Codecs.Lucene40
Assembly: Lucene.Net.dll
Syntax
[Obsolete("Only for reading old 4.0 segments")]
public class Lucene40SkipListReader : MultiLevelSkipListReader, IDisposable
  Constructors
Lucene40SkipListReader(IndexInput, int, int)
Sole constructor.
Declaration
public Lucene40SkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IndexInput | skipStream | |
| int | maxSkipLevels | |
| int | skipInterval | 
See Also
Properties
FreqPointer
Returns the freq pointer of the doc to which the last call of SkipTo(int) has skipped.
Declaration
public virtual long FreqPointer { get; }
  Property Value
| Type | Description | 
|---|---|
| long | 
See Also
OffsetLength
Returns the offset length (endOffset-startOffset) of the position stored just before the doc to which the last call of SkipTo(int) has skipped.
Declaration
public virtual int OffsetLength { get; }
  Property Value
| Type | Description | 
|---|---|
| int | 
See Also
PayloadLength
Returns the payload length of the payload stored just before the doc to which the last call of SkipTo(int) has skipped.
Declaration
public virtual int PayloadLength { get; }
  Property Value
| Type | Description | 
|---|---|
| int | 
See Also
ProxPointer
Returns the prox pointer of the doc to which the last call of SkipTo(int) has skipped.
Declaration
public virtual long ProxPointer { get; }
  Property Value
| Type | Description | 
|---|---|
| long | 
See Also
Methods
Init(long, long, long, int, bool, bool)
Per-term initialization.
Declaration
public virtual void Init(long skipPointer, long freqBasePointer, long proxBasePointer, int df, bool storesPayloads, bool storesOffsets)
  Parameters
| Type | Name | Description | 
|---|---|---|
| long | skipPointer | |
| long | freqBasePointer | |
| long | proxBasePointer | |
| int | df | |
| bool | storesPayloads | |
| bool | storesOffsets | 
See Also
ReadSkipData(int, IndexInput)
Subclasses must implement the actual skip data encoding in this method.
Declaration
protected override int ReadSkipData(int level, IndexInput skipStream)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | level | The level skip data shall be read from.  | 
      
| IndexInput | skipStream | The skip stream to read from.  | 
      
Returns
| Type | Description | 
|---|---|
| int | 
Overrides
See Also
SeekChild(int)
Seeks the skip entry on the given level.
Declaration
protected override void SeekChild(int level)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | level | 
Overrides
See Also
SetLastSkipData(int)
Copies the values of the last read skip entry on this level.
Declaration
protected override void SetLastSkipData(int level)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | level |