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