Class Lucene90PostingsFormat.IntBlockTermState
java.lang.Object
org.apache.lucene.index.TermState
org.apache.lucene.index.OrdTermState
org.apache.lucene.codecs.BlockTermState
org.apache.lucene.codecs.lucene90.Lucene90PostingsFormat.IntBlockTermState
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Lucene90PostingsFormat
Holds all state required for
Lucene90PostingsReader
to produce a PostingsEnum
without re-seeking the terms dict.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
file pointer to the start of the doc ids enumeration, inLucene90PostingsFormat.DOC_EXTENSION
filelong
file offset for the last position in the last block, if there are more thanForUtil.BLOCK_SIZE
positions; otherwise -1long
file pointer to the start of the payloads enumeration, inLucene90PostingsFormat.PAY_EXTENSION
filelong
file pointer to the start of the positions enumeration, inLucene90PostingsFormat.POS_EXTENSION
fileint
docid when there is a single pulsed posting, otherwise -1.long
file offset for the start of the skip list, relative to docStartFP, if there are more thanForUtil.BLOCK_SIZE
docs; otherwise -1Fields inherited from class org.apache.lucene.codecs.BlockTermState
blockFilePointer, docFreq, termBlockOrd, totalTermFreq
Fields inherited from class org.apache.lucene.index.OrdTermState
ord
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
docStartFP
public long docStartFPfile pointer to the start of the doc ids enumeration, inLucene90PostingsFormat.DOC_EXTENSION
file -
posStartFP
public long posStartFPfile pointer to the start of the positions enumeration, inLucene90PostingsFormat.POS_EXTENSION
file -
payStartFP
public long payStartFPfile pointer to the start of the payloads enumeration, inLucene90PostingsFormat.PAY_EXTENSION
file -
skipOffset
public long skipOffsetfile offset for the start of the skip list, relative to docStartFP, if there are more thanForUtil.BLOCK_SIZE
docs; otherwise -1 -
lastPosBlockOffset
public long lastPosBlockOffsetfile offset for the last position in the last block, if there are more thanForUtil.BLOCK_SIZE
positions; otherwise -1 -
singletonDocID
public int singletonDocIDdocid when there is a single pulsed posting, otherwise -1. freq is always implicitly totalTermFreq in this case.
-
-
Constructor Details
-
IntBlockTermState
public IntBlockTermState()Sole constructor.
-
-
Method Details
-
clone
-
copyFrom
Description copied from class:TermState
Copies the content of the givenTermState
to this instance- Overrides:
copyFrom
in classBlockTermState
- Parameters:
_other
- the TermState to copy
-
toString
- Overrides:
toString
in classBlockTermState
-