Class Lucene40SkipListReader
Implements the skip list reader for the 4.0 posting list format that stores positions and payloads.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs.Lucene40
Assembly: Lucene.Net.dll
Syntax
[Obsolete("Only for reading old 4.0 segments")]
public class Lucene40SkipListReader : MultiLevelSkipListReader, IDisposable
Constructors
| Improve this Doc View SourceLucene40SkipListReader(IndexInput, Int32, Int32)
Sole constructor.
Declaration
public Lucene40SkipListReader(IndexInput skipStream, int maxSkipLevels, int skipInterval)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | skipStream | |
System.Int32 | maxSkipLevels | |
System.Int32 | skipInterval |
Properties
| Improve this Doc View SourceFreqPointer
Returns the freq pointer of the doc to which the last call of SkipTo(Int32) has skipped.
Declaration
public virtual long FreqPointer { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
OffsetLength
Returns the offset length (endOffset-startOffset) of the position stored just before the doc to which the last call of SkipTo(Int32) has skipped.
Declaration
public virtual int OffsetLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PayloadLength
Returns the payload length of the payload stored just before the doc to which the last call of SkipTo(Int32) has skipped.
Declaration
public virtual int PayloadLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ProxPointer
Returns the prox pointer of the doc to which the last call of SkipTo(Int32) has skipped.
Declaration
public virtual long ProxPointer { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
| Improve this Doc View SourceInit(Int64, Int64, Int64, Int32, Boolean, Boolean)
Per-term initialization.
Declaration
public virtual void Init(long skipPointer, long freqBasePointer, long proxBasePointer, int df, bool storesPayloads, bool storesOffsets)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | skipPointer | |
System.Int64 | freqBasePointer | |
System.Int64 | proxBasePointer | |
System.Int32 | df | |
System.Boolean | storesPayloads | |
System.Boolean | storesOffsets |
ReadSkipData(Int32, IndexInput)
Declaration
protected override int ReadSkipData(int level, IndexInput skipStream)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | level | |
IndexInput | skipStream |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceSeekChild(Int32)
Declaration
protected override void SeekChild(int level)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | level |
Overrides
| Improve this Doc View SourceSetLastSkipData(Int32)
Declaration
protected override void SetLastSkipData(int level)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | level |
Overrides
Implements
System.IDisposable