Class BlockTermState
Holds all state required for PostingsReaderBase to produce a DocsEnum without re-seeking the terms dict.
Inheritance
System.Object
BlockTermState
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public class BlockTermState : OrdTermState
Constructors
| Improve this Doc View SourceBlockTermState()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected BlockTermState()
Properties
| Improve this Doc View SourceBlockFilePointer
File pointer into the terms dict primary file (_X.tim) that holds this term.
Declaration
public long BlockFilePointer { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
DocFreq
How many docs have this term?
Declaration
public int DocFreq { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TermBlockOrd
The term's ord in the current block.
Declaration
public int TermBlockOrd { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TotalTermFreq
Total number of occurrences of this term.
Declaration
public long TotalTermFreq { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
| Improve this Doc View SourceCopyFrom(TermState)
Declaration
public override void CopyFrom(TermState other)
Parameters
Type | Name | Description |
---|---|---|
TermState | other |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |